libtest-tabledriven-perl_0.02-1_all.deb


Advertisement

Description

libtest-tabledriven-perl - write tests, not scripts that run them

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libtest-tabledriven-perl
Package version 0.02
Package release 1
Package architecture all
Package type deb
Installed size 54 B
Download size 10.92 KB
Official Mirror ftp.br.debian.org
Writing table-driven tests is usually a good idea.  Adding a test case
doesn't require adding code, so it's easy to avoid fucking up the
other tests.  However, actually going from a table of tests to a test
that runs is non-trivial.
Test::TableDriven makes writing the test drivers trivial.  You simply
define your test cases and write a function that turns the input data
into output data to compare against.  C<Test::TableDriven> will compute
how many tests need to be run, and then run the tests.
Concentrate on your data and what you're testing, not
plan tests => scalar keys %test_cases
and a big foreach loop.

Alternatives

Package Version Architecture Repository
libtest-tabledriven-perl_0.02-1_all.deb 0.02 all Debian Main
libtest-tabledriven-perl - - -

Requires

Name Value
perl -

Download

Type URL
Binary Package libtest-tabledriven-perl_0.02-1_all.deb
Source Package libtest-tabledriven-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libtest-tabledriven-perl deb package:
    # sudo apt-get install libtest-tabledriven-perl

Files

Path
/usr/share/doc/libtest-tabledriven-perl/README
/usr/share/doc/libtest-tabledriven-perl/buildinfo_all.gz
/usr/share/doc/libtest-tabledriven-perl/changelog.Debian.gz
/usr/share/doc/libtest-tabledriven-perl/changelog.gz
/usr/share/doc/libtest-tabledriven-perl/copyright
/usr/share/man/man3/Test::TableDriven.3pm.gz
/usr/share/perl5/Test/TableDriven.pm

Changelog

2013-05-04 - Jonas Smedegaard <dr@jones.dk>
libtest-tabledriven-perl (0.02-1) unstable; urgency=low
* Initial packaging release.
Closes: bug#706780.

See Also

Package Description
libtest-tabs-perl_0.005-1_all.deb check the presence of tabs in your project
libtest-taint-perl_1.06-1+b2_amd64.deb Module to test taintedness
libtest-tcp-perl_2.06-1_all.deb module to test TCP/IP programs
libtest-tempdir-perl_0.08-1_all.deb Perl module that creates temporary files for testing
libtest-tester-perl_0.109-1_all.deb module for testing test Perl modules built with Test::Builder
libtest-trap-perl_0.2.4-1_all.deb test module to trap exit codes, exceptions, output, etc
libtest-unit-perl_0.25-2_all.deb unit testing framework for Perl
libtest-use-ok-perl_0.11-1_all.deb Module to test if a Perl module loads ok
libtest-useallmodules-perl_0.15-1_all.deb test module to do use_ok() for all the MANIFESTed modules
libtest-utf8-perl_1.01-1_all.deb handy perl module for testing strings with utf8
libtest-valgrind-perl_1.14-3_all.deb module to test Perl code through valgrind
libtest-version-perl_1.004001-1_all.deb module for checking the sanity of versions in modules
libtest-warn-perl_0.30-1_all.deb test module for checking which warnings are generated
libtest-warnings-perl_0.016-1_all.deb Perl module to test for warnings and the lack of them
libtest-weaken-perl_3.022000-1_all.deb Perl module to test that freed memory objects were actually freed
Advertisement
Advertisement