p5-Test-TableDriven-0.02_2.txz


Advertisement

Description

p5-Test-TableDriven - Write tests, not scripts that run them

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package filename p5-Test-TableDriven-0.02_2.txz
Package name p5-Test-TableDriven
Package version 0.02
Package release 2
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Test-TableDriven
License -
Maintainer sunpoet@FreeBSD.org
Download size 5.80 KB
Installed size 8.33 KB
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. 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
%25test_cases> and a big foreach loop.
WWW: https://metacpan.org/release/Test-TableDriven

Alternatives

Package Version Architecture Repository
p5-Test-TableDriven-0.02_2.txz 0.02 i386 FreeBSD Ports Latest
p5-Test-TableDriven-0.02_2.txz 0.02 amd64 FreeBSD Ports Quarterly
p5-Test-TableDriven-0.02_2.txz 0.02 i386 FreeBSD Ports Quarterly
p5-Test-TableDriven - - -

Requires

Name Value
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Test-TableDriven-0.02_2.txz
Source Package devel/p5-Test-TableDriven

Install Howto

Install p5-Test-TableDriven txz package:

# pkg install p5-Test-TableDriven

See Also

Package Description
p5-Test-Taint-1.06_1.txz Tools to test taintedness
p5-Test-TempDir-Tiny-0.018.txz Temporary directories that stick around when tests fail
p5-Test-Time-0.04_1.txz Perl extension to override time()/sleep() core functions for testing
p5-Test-Timer-2.09.txz Perl test module to test/assert response times
p5-Test-TinyMocker-0.05_1.txz Simple tool to mock external modules
p5-Test-Trap-0.3.4.txz Trap exit codes, exceptions, output, etc
p5-Test-UNIXSock-0.2.txz Testing UNIX domain socket servers
p5-Test-URI-1.082.txz Check Uniform Resource Identifiers
p5-Test-Unit-0.25_3.txz PerlUnit testing framework
p5-Test-UseAllModules-0.17_1.txz Do use_ok() for all the MANIFESTed modules
p5-Test-Version-2.09.txz Check to see that version in modules are sane
p5-Test-WWW-Declare-0.02_1.txz Declarative testing for your web app
p5-Test-WWW-Mechanize-1.52.txz Testing-specific WWW::Mechanize subclass
p5-Test-WWW-Mechanize-CGI-0.1_1.txz Test CGI applications with Test::WWW::Mechanize
p5-Test-WWW-Mechanize-CGIApp-0.05_1.txz Test::WWW::Mechanize for CGIApp
Advertisement
Advertisement