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

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

Serving Software Downloads in 956 Categories, Downloaded 50.063.627 Times

Test::Pod::Snippets 0.02

  Date Added: August 12, 2010  |  Visits: 1.007

Test::Pod::Snippets

Report Broken Link
Printer Friendly Version


Product Homepage
Download (91 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
USER REVIEWS
More Reviews or Write Review


TEST::POD::SNIPPETS RELATED
Games  -  3-IN-A-BED WORLD DARTS 16.0
Welcome to the 3-IN-A-BED World League where you can play internet darts online. The World League is a social gathering of computer darts players who meet online to test their skills on the dartboard.
20.84 MB  
Network & Internet  -  Sidebar in a Can 1.0.1
Sidebar in a Can is a simple and powerful tool for webmasters to take a large amount of static content (intimidating to new users) and turn it into a quite manageable amount of dynamic content. The result showcases your sites material. Sidebar...
57.34 KB  
Education  -  Roster-in-a-Box 1.0
Roster-in-a-Box project is a course management system designed to facilitate the use of autograded homework assignments, while also allowing for text-based questions to be submitted online and graded online by the instructor. I developed and...
133.12 KB  
Games  -  Five in a Row 1.1
Your goal in Five-in-a-row is to get five X's in a row while preventing your opponent from getting five O's in a row. In this javascript implementation, the game is played on a 15x15 board. (If you'd like a bigger or smaller board, you can set it...
10 KB  
Miscellaneous  -  Ensuring a name definition in a module namespace 1.0
This script ensures that a name exists in a target namespace. If it does not, make it available in the target namespace using the given definition. The target should be a namespace dictionary (presumably for a module, see the discussion below...
 
Multimedia  -  Motion Detection in a video 1.0
this programs identifies the moving objects in a video ( continious frames) and displays the moving object in a window.when you execute this code just check whether the input video is supported in matlab r not. so for the testing i am attaching a...
1.17 MB  
Miscellaneous  -  Show users IP in a graphic 1.0
Display visitor's IP Address in a graphic with this simple php code
 
Database Tools  -  13 in a dozen db class 1.0
13 in a dozen db class can be used to access MySQL database servers and display query results in HTML tables.13 in a dozen db class can establish database connections to a given MySQL host, retrieve server database information, execute SQL...
10 KB  
Modules  -  Open external links in a new window 1.1.1
Opens all external links (starting with "http://" or "https://") in a separate browser window. The plugin produces XHTML Strict compliant code and is also search engine optimized (SEO).This is done using the javascript:window.open()-function.Most...
10 KB  
Education  -  Resonance in a Driven String Model 1.0
The Ejs Resonance in a Driven String model displays the displacement of taut string with its right end fixed while the left end is driven sinusoidally. The driving frequency, amplitude, and the simulation's dt can be changed via text boxes and the...
1.36 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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