Test::C2FIT::Fixture - Base class of all fixtures. A fixture checks examples in a table (of the input document) by running the actual program. Typically you neither use this class directly, nor subclass it directly.
When your data is not stored as string, then you'll propably need an TypeAdapter. Either you fill an appropriate hash while instantiating a Fixture, or you overload an appropriate method.
Returns a fully qualified package/classname of a TypeAdapter suitable for parsing/checking of cell entries of the column named "$columnName".
Default implementation uses a lookup in the instance's fieldColumnTypeMap hash. Will be used in ColumnFixture, RowFixture and setter parameter of an ActionFixture.
Used in all Fixtures. Returns a fully qualified package/classname of a TypeAdapter suitable for parsing cell entries of the column named "$methodName" and checking them to return values of the method $methodName().
Used in ActionFixture for setter-type methods. Returns a fully qualified package/classname of a TypeAdapter suitable for parsing cell entries following a cell with the content of $methodName.
Extensive and up-to-date documentation on FIT can be found at: http://fit.c2.com/
To install Test::C2FIT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::C2FIT
CPAN shell
perl -MCPAN -e shell install Test::C2FIT
For more information on module installation, please visit the detailed CPAN module installation guide.