The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::C2FIT::RowFixture - A RowFixture 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.

SYNOPSIS

Normally, you subclass RowFixture.

        package MyColumnFixture;
        use base 'Test::C2FIT::ColumnFixture;'

        sub query {
         my $self = shift;
         return [ <your data> ];
        }

DESCRIPTION

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.

METHODS

query()

query() should return an arrayref consisting of either blessed objects (fields and methods are used) or unbessed hashrefs (only fields are used).

SEE ALSO

Extensive and up-to-date documentation on FIT can be found at: http://fit.c2.com/