Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libtest-base-perl

data driven testing framework for Perl

Testing is usually the ugly part of Perl module authoring. Perl gives you a standard way to run tests with Test::Harness, and basic testing primitives with Test::More. After that you are pretty much on your own to develop a testing framework and philosophy. Test::More encourages you to make your own framework by subclassing Test::Builder, but that is not trivial.

Test::Base gives you a way to write your own test framework base class that is trivial. In fact it is as simple as two lines: package MyTestFramework; use Test::Base -Base;

A module called MyTestFramework.pm containing those two lines, will give all the power of Test::More and all the power of Test::Base to every test file that uses it. As you build up the capabilities of MyTestFramework, your tests will have all of that power as well.

MyTestFramework becomes a place for you to put all of your reusable testing bits. As you write tests, you will see patterns and duplication, and you can "upstream" them into MyTestFramework. Of course, you don't have to subclass Test::Base at all. You can use it directly in many applications, including everywhere you would use Test::More.

Test::Base concentrates on offering reusable data driven patterns, so that you can write tests with a minimum of code. At the heart of all testing you have inputs, processes and expected outputs. Test::Base provides some clean ways for you to express your input and expected output data, so you can spend your time focusing on that rather than your code scaffolding.

Homepage:
Package version:0.60-1
Architecture:all
Distribution:Debian
Filename:libtest-base-perl_0.60-1_all.deb

/usr/share/man/man3/Module::Install::TestBase.3pm.gz

Module::Install::UserBContributed PerlModule::Install::TestBase(3pm)



NAME
       Module::Install::TestBase - Module::Install Support for
       Test::Base

SYNOPSIS
           use inc::Module::Install;

           name            'Foo';
           all_from        'lib/Foo.pm';

           use_test_base;

           WriteAll;

DESCRIPTION
       This module adds the "use_test_base" directive to

more»

/usr/share/man/man3/Test::Base.3pm.gz

Test::Base(3pm)  User Contributed Perl Documentation Test::Base(3pm)



NAME
       Test::Base - A Data Driven Testing Framework

SYNOPSIS
       A new test module:

           # lib/MyProject/Test.pm
           package MyProject::Test;
           use Test::Base -Base;

           use MyProject;

           package MyProject::Test::Filter;
           use Test::Base::Filter -base;

           sub m
more»

/usr/share/man/man3/Test::Base::Filter.3pm.gz

Test::Base::FilteUsermContributed Perl DocumeTest::Base::Filter(3pm)



NAME
       Test::Base::Filter - Default Filter Class for Test::Base

SYNOPSIS
           package MyTestSuite;
           use Test::Base -Base;

           ... reusable testing code ...

           package MyTestSuite::Filter;
           use Test::Base::Filter -Base;

           sub my_filter1 {
               ...
           }
more»

/usr/share/doc/libtest-base-perl/changelog.Debian.gz

libtest-base-perl (0.60-1) unstable; urgency=low

  [ Ryan Niebur ]
  * Email change: Jonathan Yu ->
more»

/usr/share/doc/libtest-base-perl/changelog.gz

---
version: 0.60
date:    Mon Apr  4 15:51:09 CST 2011
changes:
- Applied patch by andk++
- Make re
more»

/usr/share/doc/libtest-base-perl/copyright

Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Maintainer: 
more»

Browse inside libtest-base-perl_0.60-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libtest-base-perl_0.60-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com