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

Test::Pod::Snippets 0.02

  Date Added: August 12, 2010  |  Visits: 701

Test::Pod::Snippets

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 downloads)

Test::Pod::Snippets is a Perl module to generate tests from pod code snippets. SYNOPSIS use Test::Pod::Snippets; my $tps = Test::Pod::Snippets->new(); $tps->generate_snippets( @pm_and_pod_files ); Fact 1 In a perfect world, a modules full API should be covered by an extensive battery of testcases neatly tucked in the distributions t/ directory. But then, in a perfect world each backyard would have a marshmallow tree and postmen would consider their duty to circle all the real good deals in pamphlets before stuffing them in your mailbox. Obviously, were not living in a perfect world. Fact 2 Typos and minor errors in module documentation. Lets face it: it happens to everyone. And while its never the end of the world and is prone to rectify itself in time, its always kind of embarassing. A little bit like electronic zits on prepubescent docs, if you will. Test::Pod::Snippetss goal is to address those issues. Quite simply, it extracts verbatim text off pod documents -- which it assumes to be code snippets -- and generate test files out of them. HOW TO USE TEST::POD::SNIPPETS IN YOUR DISTRIBUTION If you are using Module::Build, add the following to your Build.PL: my $builder = Module::Build->new( # ... your M::B parameters PL_files => { script/test-pod-snippets.PL => q{} }, add_to_cleanup => [ t/pod-snippets-*.t ], ); Then create the file script/test-pod-snippets.PL, which should contains use Test::Pod::Snippets; my $tps = Test::Pod::Snippets->new; $tps->generate_snippets( qw# lib/your/module.pm lib/your/documentation.pod #); And youre set! Running Build should now generate one test file for each given module. If you prefer to generate the tests yourself, skip the modifications to Build.PL and call test-pod-snippets.PL from the distributions main directory..

Requirements: No special requirements
Platforms: Linux
Keyword: Code Generate In A Perfect World Libraries Module Perl Module Pod Programming Testpodsnippets Tests World
Users rating: 0/10

License: Freeware Size: 6.14 KB
TEST::POD::SNIPPETS RELATED
Network & Internet  -  mod_musicindex 1.2.0 RC1
mod_musicindex is an Apache module initially aimed at being a C implementation of the Perl module Apache::MP3 (http://search.cpan.org/dist/Apache-MP3/). It allows nice displaying of directories containing MP3, FLAC, Ogg Vorbis or MP4/AAC files,...
450.56 KB  
Libraries  -  File::Maker 0.05
File::Maker is a Perl module that mimics a make by loading a database and calling targets methods. SYNOPSIS ##### # Subroutine interface # use File::Maker qw(load_db); %data = load_db($pm); ###### # Object interface # require...
77.82 KB  
Games  -  4 in a Row Multiplayer - Play online with friends! 1.8
Play "4 in a Row" against the computer or friends from all over the world! "4 in a Row" is one of the most popular strategy games in the world, this app gives you three different game modes. ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Details...
26.3 MB  
Libraries  -  SQL::Generator 0.02
SQL::Generator is a Perl module to generate SQL-statements with oo-perl. SYNOPSIS use SQL::Generator; With this module you can easily (and very flexible) generate/construct sql-statements. As a rookie, you are used to write a lot of...
13.31 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Benchmark 5.8.8
Benchmark is a Perl module with benchmark running times of Perl code. SYNOPSIS use Benchmark qw(:all) ; timethis ($count, "code"); # Use Perl code in strings... timethese($count, { Name1 => ...code1..., Name2 => ...code2..., }); #...
12.2 MB  
Libraries  -  SVG::Element 2.33
SVG::Element is a Perl module to generate the element bits for SVG.pm. SVG.pm makes it possible to generate fully-functional SVG images in perl. 100% of the SVG tags are supported, and any new arbitrary element tag can be added by users by...
47.1 KB  
Libraries  -  Class::Adapter::Builder 1.02
Class::Adapter::Builder is a Perl module that can generate Class::Adapter classes. SYNOPSIS package My::Adapter; use strict; use Class::Adapter::Builder ISA => Specific::API, METHODS => [ qw{foo bar baz} ], method => different_method;...
24.58 KB  
Libraries  -  Acme::EyeDrops 1.51
Acme::EyeDrops is a Perl module for visual programming in Perl. SYNOPSIS use Acme::EyeDrops qw(sightly); print sightly( { Shape => camel, SourceFile => eyesore.pl } ); Acme::EyeDrops converts a Perl program into an equivalent one, but...
102.4 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 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