[Dbix-class] Test::DBIx::Class
Pavel Karoukin
hippich at gmail.com
Fri Aug 19 17:06:09 GMT 2011
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
More information about the DBIx-Class
mailing list