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 29.989.578 Times

Test::Manifest 1.17

  Date Added: January 20, 2010  |  Visits: 716

Test::Manifest

Report Broken Link
Printer Friendly Version


Product Homepage
Download (78 downloads)

Test::Manifest is a Perl module created to interact with a t/test_manifest file. SYNOPSIS # in Makefile.PL eval "use Test::Manifest"; # in the file t/test_manifest, list the tests you want # to run Test::Harness assumes that you want to run all of the .t files in the t/ directory in ascii-betical order during make test unless you say otherwise. This leads to some interesting naming schemes for test files to get them in the desired order. This interesting names ossify when they get into source control, and get even more interesting as more tests show up. Test::Manifest overrides the default behaviour by replacing the test_via_harness target in the Makefile. Instead of running at the t/*.t files in ascii-betical order, it looks in the t/test_manifest file to find out which tests you want to run and the order in which you want to run them. It constructs the right value for MakeMaker to do the right thing. In t/test_manifest, simply list the tests that you want to run. Their order in the file is the order in which they run. You can comment lines with a #, just like in Perl, and Test::Manifest will strip leading and trailing whitespace from each line. It also checks that the specified file is actually in the t/ directory. If the file does not exist, it does not put its name in the list of test files to run. Optionally, you can add a number after the test name in test_manifest to define sets of tests. See get_t_files() for more information. Functions run_t_manifest( TEST_VERBOSE, INST_LIB, INST_ARCHLIB, TEST_LEVEL ) Run all of the files in t/test_manifest through Test::Harness:runtests in the order they appear in the file. eval "use Test::Manifest"; get_t_files( [LEVEL] ) In scalar context it returns a single string that you can use directly in WriteMakefile(). In list context it returns a list of the files it found in t/test_manifest. If a t/test_manifest file does not exist, get_t_files() returns nothing. get_t_files() warns you if it cant find t/test_manifest, or if entries start with "t/". It skips blank lines, and strips Perl style comments from the file. Each line in t/test_manifest can have three parts: the test name, the test level (a floating point number), and a comment. By default, the test level is 1. test_name.t 2 #Run this only for level 2 testing Without an argument, get_t_files() returns all the test files it finds. With an argument that is true (so you cant use 0 as a level) and is a number, it skips tests with a level greater than that argument. You can then define sets of tests and choose a set to run. For instance, you might create a set for end users, but also add on a set for deeper testing for developers. Experimentally, you can include a command to grab test names from another file. The command starts with a ; to distinguish it from a true filename. The filename (currently) is relative to the current working directory, unlike the filenames, which are relative to t/. The filenames in the included are still relative to t/. ;include t/file_with_other_test_names.txt To select sets of tests, specify the level in the variable TEST_LEVEL during `make test`. make test # run all tests no matter the level make test TEST_LEVEL=2 # run all tests level 2 and below make_test_manifest() Creates the test_manifest file in the t directory by reading the contents of the t directory. TO DO: specify tests in argument lists. TO DO: specify files to skip. manifest_name() Returns the name of the test manifest file, relative to t/.

Requirements: No special requirements
Platforms: Linux
Keyword: File Files Level Libraries Manifest Manifest File Order Perl Module Testmanifest Tests To Run Want To You Want To
Users rating: 0/10

License: Freeware Size: 7.17 KB
TEST::MANIFEST RELATED
Libraries  -  File::Basename 5.8.8
File::Basename is a Perl module to parse file paths into directory, filename and suffix. SYNOPSIS use File::Basename; ($name,$path,$suffix) = fileparse($fullname,@suffixlist); $name = fileparse($fullname,@suffixlist); $basename =...
12.2 MB  
Libraries  -  Stat::lsMode 0.50
Stat::lsMode Perl module can format file modes like the ls -l command does. SYNOPSIS use Stat::lsMode; $mode = (stat $file)[2]; $permissions = format_mode($mode); # $permissions is now something like `drwxr-xr-x $permissions =...
4.1 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  
MP3 Tools  -  HTMtied 2.1
HTMtied instantly converts any Internet address (link, URL, bookmark, favorite) to a very small HTML file that when opened in any browser, it will automatically load that address. Use it when you want to save an Internet address for future use on...
33 KB  
Windows Software  -  Hard Drive Powerwash FREE 2.00
Hard Drive Powerwash is a Windows Utility that enables its users to remove file clutter from their systems quickly and easily. What is file clutter? File Clutter generally refers to files created by programs for temporary use. Internet browsers...
2.2 MB  
Libraries  -  XML::DOM 1.44
XML::DOM is a perl module for building DOM Level 1 compliant document structures. SYNOPSIS use XML::DOM; my $parser = new XML::DOM::Parser; my $doc = $parser->parsefile ("file.xml"); # print all HREF attributes of all CODEBASE elements...
143.36 KB  
Windows Software  -  MediaProSoft Free MP4 to AVI Converter 6.4.3
Want to edit the video shared from your friends' iPhone/iPod/iPad/PSP/BlackBerry? MediaProSoft Free MP4 to AVI Converter is a free video converter which converts MP4, M4V and MP4V files into AVI or MPEG. MP4 files are commonly used in mobile...
5.01 MB  
Education  -  Quiz Time App 1.1
Want to test your knowledge on a particular topic? Use the app to bring up questions in different domains. To use the app, you need to download the set of questions by specifying it in the URL field. The question set is an XML file. A...
102.4 KB  
Audio Editors  -  Wave MP3 Editor Classic Freemium 11.5
Wave MP3 Editor Classic is a complete audio editor and recorder. Wave MP3 Editor makes editing WAV files as easy as editing text with its clear user interface and powerful effects. Our wave form editing window allows you to find the part you want...
18.09 MB  
Audio Editors  -  Wave MP3 Editor Classic 11.5
Wave MP3 Editor Classic is a complete audio editor and recorder. Wave MP3 Editor makes editing WAV files as easy as editing text with its clear user interface and powerful effects. Our wave form editing window allows you to find the part you want...
18.09 MB  
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