Search results for "module:c2fit"
Test::C2FIT - A direct Perl port of Ward Cunningham's FIT acceptance test framework for Java.
Great software requires collaboration and communication. Fit is a tool for enhancing collaboration in software development. It's an invaluable way to collaborate on complicated problems - and get them right - early in development. Fit allows customer...
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC
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....
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC
Test::C2FIT::Parse - Parsing of html source, filtering out contents of arbitrary tags.
Parse creates a linked list of Parse-Objects, so upon parsing, the original content can be restored (or modified, what the fit framework is actually doing)....
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC
Test::C2FIT::WikiRunner - a runner class operating on (wiki) html files.
Either you use this class as a starting point for your tests or your test documents refer to other test documents which shall be processed recursively. To run your tests, it might be even simplier to use "WikiRunner.pl" or "perl -MTest::C2FIT -e wiki...
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC
Test::C2FIT::FileRunner - a runner class operating on (plain) html files.
Either you use this class as a starting point for your tests or your test documents refer to other test documents which shall be processed recursively. To run your tests, it might be even simplier to use "FileRunner.pl" or "perl -MTest::C2FIT -e file...
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC
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.
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....
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC
Test::C2FIT::TypeAdapter - Base class of all TypeAdapters.
When your data is not stored as string, then you'll propably need an TypeAdapter. E.g.: duration, which is displayed (and entered) in the form "MMM:SS" but stored as number of seconds....
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC
Test::C2FIT::ColumnFixture - A ColumnFixture maps columns in the test data to fields or methods of its subclasses.
Column headings with braces (e.g. getX()) will get bound to methods, i.e. the data entered in your document will be checked against the result of the respective method. A Column heading consisting of more words will be concatened to a camel-case name...
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC
Test::C2FIT::ActionFixture - An action fixture interprets rows as a sequence of commands to be performed in order.
TJBYRNE/Test-C2FIT-0.08
-
24 Jan 2008 14:33:46 UTC
Test::C2FIT::PrimitiveFixture
PrimitiveFixture offers a "checkValue" method. Binding of columns to values is the programmer's job with this fixture....
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC
Test::C2FIT::GenericArrayAdapter - A type adapter capable of checking equality of two array-refs.
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....
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC
Test::C2FIT::ScientificDoubleTypeAdapter - A type adapter capable of checking float numbers
Better support for equality checking of floats than abs($a - $b) < $threshold...
TJBYRNE/Test-C2FIT-0.08 - 24 Jan 2008 14:33:46 UTC