[ trixie ]
[ sid ]
[ ソース: libdbix-class-factory-perl ]
パッケージ: libdbix-class-factory-perl (0.04-2)
libdbix-class-factory-perl に関するリンク
Debian の資源:
libdbix-class-factory-perl ソースパッケージをダウンロード:
- [libdbix-class-factory-perl_0.04-2.dsc]
- [libdbix-class-factory-perl_0.04.orig.tar.gz]
- [libdbix-class-factory-perl_0.04-2.debian.tar.xz]
メンテナ:
外部の資源:
- ホームページ [metacpan.org]
類似のパッケージ:
factory-style fixtures for DBIx::Class
Ruby has factory_girl, Python has factory_boy. Now Perl has DBIx::Class::Factory.
Creating big fixture batches may be a pain. This module provides easy way of creating data in database via DBIx::Class.
To create a factory just derive from DBIx::Class::Factory and apply some settings. You can also add some data at the moment of creating instance, redefining factory defaults.
Tests for this module contains a bunch of useful examples.