Hello,

I have problem with Test::DBIx::Class and using fixture_sets in config file.

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 => [ [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/[email protected]

Reply via email to