[Dbix-class] Test::DBIx::Class

John Napiorkowski jjn1056 at yahoo.com
Fri Sep 9 01:23:57 GMT 2011


Sorry I didn't notice your post (vacation, etc.) =A0and there's a new relea=
se with updated docs regarding this problem. =A0 Let me know if that helps =
---John



>________________________________
>From: Pavel Karoukin <hippich at gmail.com>
>To: Class user and developer list <dbix-class at lists.scsys.co.uk>
>Sent: Friday, August 19, 2011 1:06 PM
>Subject: [Dbix-class] Test::DBIx::Class
>
>Hello,
>
>I have problem with Test::DBIx::Class and using fixture_sets in config fil=
e.
>
>I define whole configuration in t/etc/schema.pl just like perldoc says,
>but when I do:
>
>fixtures_ok "basic", "Fixtures loaded";
>
>My data never loads into test DB. Even more - I can put anything instead
>of "basic" and it never complains about it. If I specify fixtures right
>in fixtures_ok, like:
>
>fixtures_ok { Person =3D> [ [id, name], [1, 'name'] ] }, "Fixtures loaded";
>
>it works fine.
>
>I just wandering if this is a bug or I am missing something obvious.
>Overall I really like idea of this module, since finally something
>allows me to do clean test of the schema, but putting all fixtures into
>test looks not elegant and I would like to avoid it if possible.
>
>Regards,
>Pavel
>
>_______________________________________________
>List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
>IRC: irc.perl.org#dbix-class
>SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
>Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.c=
o.uk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20110908/88b=
a1fed/attachment.htm


More information about the DBIx-Class mailing list