Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.070.812 Times

Test::C2FIT 0.07

  Date Added: February 04, 2010  |  Visits: 536

Test::C2FIT

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)

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..

Requirements: No special requirements
Platforms: Linux
Keyword: Acceptance Test File Input Libraries Mtest Perl Port Programming Runner Test Ward Cunninghams Fit
Users rating: 0/10

License: Freeware Size: 266.24 KB
TEST::C2FIT RELATED
Libraries  -  Test::File::Find::Rule 1.00
Test::File::Find::Rule is a Perl module to test files and directories with File::Find::Rule. SYNOPSIS use Test::File::Find::Rule; # Check that all files in $dir have sensible names my $rule = File::Find::Rule ->file ->relative...
3.07 KB  
Libraries  -  Test::YAML::Valid 0.03
Test::YAML::Valid is a Perl module is a test for valid YAML. SYNOPSIS This module lets you easily test the validity of YAML: use Test::More tests => 3; use Test::YAML::Valid; yaml_string_ok(YAML::Dump({foo => bar}), YAML generates good...
26.62 KB  
Libraries  -  File::Flock 104.111901
File::Flock is a Perl module for file locking with flock. SYNOPSIS use File::Flock; lock($filename); lock($filename, shared); lock($filename, undef, nonblocking); lock($filename, shared, nonblocking); unlock($filename); my $lock =...
6.14 KB  
Libraries  -  Test::WWW::Simple 0.24
Test::WWW::Simple is a Perl module to test Web applications using TAP. SYNOPSIS use Test::WWW::Simple; # This is the default user agent. user_agent(Windows IE 6); page_like("http://yahoo.com", qr/.../, "check for expected text");...
12.29 KB  
Libraries  -  File::Comments 0.07
File::Comments is a Perl module that ecognizes file formats and extracts format-specific comments. SYNOPSIS use File::Comments; my $snoop = File::Comments->new(); # *---------------- # | program.c: # | /* comment */ # | main () {} #...
12.29 KB  
Libraries  -  File::Data 1.12
File::Data is a Perl module as a interface to file data. Wraps all the accessing of a file into a convenient set of calls for reading and writing data, including a simple regex interface. Note that the file needs to exist prior to using this...
13.31 KB  
Libraries  -  Test::STDmaker::Demo 0.23
Test::STDmaker::Demo is a Perl module that generates demo scripts from a test description short hand. The Test::STDmaker::Demo package is an internal driver package to the Test::STDmaker package that supports the Test::STDmaker::tmake() method....
133.12 KB  
Libraries  -  IP::Anonymous 0.04
IP::Anonymous is a Perl port of Crypto-PAn to provide anonymous IP addresses. SYNOPSIS use IP::Anonymous; @key = (0..31); my $object = new IP::Anonymous(@key); print $object->anonymize("192.0.2.0")."n"; This is a Perl port of Crypto-PAn....
5.12 KB  
Libraries  -  File::Wildcard 0.10
File::Wildcard is a Perl module for enhanced glob processing. SYNOPSIS use File::Wildcard; my $foo = File::Wildcard->new(path => "/home/me///core"); while (my $file = $foo->next) { unlink $file; } When looking at how various operating...
23.55 KB  
Libraries  -  Test::Tail::Multi 0.03
Test::Tail::Multi is a Perl module to execute code, monitor dynamic file contents. SYNOPSIS use Test::Tail::Multi files => [qw(file1 file2)] tests=>2; # Can add files dynamically as well add_file(file3, "decided to add file3 too"); #...
5.12 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB