Test::C2FIT::RowFixture

A RowFixture compares rows in the test data to objects in the system under test.
Download

Test::C2FIT::RowFixture Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tony Byrne
  • Publisher web site:
  • http://search.cpan.org/~tjbyrne/

Test::C2FIT::RowFixture Tags


Test::C2FIT::RowFixture Description

A RowFixture compares rows in the test data to objects in the system under test. Test::C2FIT::RowFixture is a Perl module that compares rows in the test data to objects in the system under test. Methods are invoked on the objects and returned values compared to those in the table. An algorithm matches rows with objects based on one or more keys. Objects may be missing or in surplus and are so noted.SYNOPSISNormally, you subclass RowFixture. package MyColumnFixture; use base 'Test::C2FIT::ColumnFixture;' sub query { my $self = shift; return ; }query() should return an arrayref consisting of either blessed objects (fields and methods are used) or unbessed hashrefs (only fields are used).When your data is not stored as string, then you'll propably need an TypeAdapter. See more in Fixture. Requirements: · Perl


Test::C2FIT::RowFixture Related Software