Main > Programming > Libraries >

Test::C2FIT 0.07

Test::C2FIT 0.07

Sponsored Links

Test::C2FIT 0.07 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.26 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 869
Date added: 2007-06-07
Publisher: Tony Byrne

Test::C2FIT 0.07 description

Test::C2FIT is a direct Perl port of Ward Cunninghams FIT acceptance test framework for Java.

SYNOPSIS

FileRunner.pl input_containing_fit_tests.html test_results.html

perl -MTest::C2FIT -e file_runner input_containing_fit_tests.html test_results.html

perl -MTest::C2FIT -e fit_shell

Great software requires collaboration and communication. Fit is a tool for enhancing collaboration in software development. Its an invaluable way to collaborate on complicated problems - and get them right - early in development.

Fit allows customers, testers, and programmers to learn what their software should do and what it does do. It automatically compares customers expectations to actual results.

This port of FIT has a featureset equivalent to v1.1 of FIT. Dave W. Smiths original port was based on fit-b021021j and Ive updated most of the core to match the 1.1 version.

This port passes the current FIT spec and also implements a all of the examples.

The following functions are provided (and exported) by this module:
file_runner($infile,$outfile)

Process a FIT-document contained in $infile and writes the result to $outfile.
wiki_runer($infile,$outfile)

Same as file_runner, except that not < table >, < tr > and < td > but < wiki >, < table >, < tr > and < td > is searched for in the input document.

fit_shell

Creates an interactive shell from which you can easily run tests. Start it and enter "help" for more information.

Suppose, your tests-related files reside in a directory with three subdirectories: input - where the files come from, output - where the results will be written to and lib - where your fixtures reside, all you need to do is just to enter "runall"

Logging

The file_runner and wiki_runner support filtering of warn messages, similar to javas common logging. To change the log level, use the -L parameter, e.g.:

perl -MTest::C2FIT -e file_runner -- -L 1 input_containing_fit_tests.html test_results.html

There are following log levels defined: 0 - trace, 1 - debug, 2 - info, 3 - warn, 4 - error, 5 - fatal.

In your code, simply use warn "message" if it should be printed out unconditionally or warn 1, " message" if it should be printed out, when log level is either TRACE or DEBUG.

Naming, Namespace(s)

In your FIT-documents, please use the java-style dot-notation for qualifying package names. E.g. if you want the package Domain::Object::Simple to be used, specify it by entering Domain.Object.Simple into your fit document.
Package names should be fully qualified, case is importat. Special care is taken on the fit.* packages, these can be specified either by fit.Name as well as Test.C2FIT.Name.

Test::C2FIT 0.07 Screenshot

Advertisements

Test::C2FIT 0.07 Keywords

Bookmark Test::C2FIT 0.07

Hyperlink code:
Link for forum:

Test::C2FIT 0.07 Copyright

WareSeeker periodically updates pricing and software information of Test::C2FIT 0.07 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Test::C2FIT 0.07 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Test::Fixme is a Perl module to check code for FIXMEs. Free Download
Test::Perl::Critic is a Perl module use Perl::Critic in test programs. Free Download
Test::Litmus is a Perl module to submit test results to the Litmus testcase management tool. Free Download
Test::Struct is a Perl extension for testing for structural equivelence. Free Download
Test::Chimps::Howto is a Perl module with a howto about Test::Chimps. Free Download
Test::Usage is a different approach to testing: selective, quieter, colorful. Free Download
Test::Simple is a Perl module with basic utilities for writing tests. Free Download
Test::Trap is a Perl module with trap exit codes, exceptions, output, etc. Free Download