[Dbix-class] Test::DBIC needs to be core, not a copy+paste from core

Christopher H. Laco claco at chrislaco.com
Mon Nov 12 19:11:32 GMT 2007


Christopher H. Laco wrote:
> Matt S Trout wrote:
>> On Mon, Nov 12, 2007 at 09:37:03AM -0500, Nathan Gray wrote:
>>> I wanted to use something like DBICTest or DBIC::Test for testing my
>>> models.  I did not find them packaged anywhere, just in the t/
>>> directories of other distributions.
>> So of course your first action was to mail here, so I could say:
>>
>> Yes, that's something we've been wanting to fix for a while. I'd love for
>> you to put together a branch for 09 and refactor the DBIx::Class tests
>> themselves to use it as a template for future authors.
>>
>> It would be really unfortunate to copy and paste this out of the main
>> distribution since the result wouldn't be testable without DBIC itself a=
nd
>> thus chicken-and-egg problems would make it impossible to use for DBIC
>> core, thus making the whole exercise pointless since it wouldn't track c=
ore
>> DBIC changes.
>>
>> Do you already have a user on the cat or dbic svn?
>>
> =

> =

> Aside from the obvious from mst, ++ for the thought and following it.
> I've oft found the same desire for an official DBIC Test chunk that does
> the whole t/var/deploy/populate since I have some version of that in
> most of my modules, including:
> =

>   Handel
>   Mango
>   D::C::I::Currency
>   D::C::Validation
>   D::C::UUIDColumns
> =

> -=3DChris

Of course, the somewhat humorous part is that I use DBIC to test my
Handel::Storage::RBDO classes, since there's no easy 'deploy' over
there. :-)

-=3DChris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20071112/1d=
07b9f2/signature.pgp


More information about the DBIx-Class mailing list