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


Advertisement

Description

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

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

Requires

    Download

    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

    • /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.

    Advertisement
    Advertisement