FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
p5-Test-TableDriven Write tests, not scripts that run them
0.02_2 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 11 Jun 2011 14:51:43
Also Listed In: perl5
License: not specified in port
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
%test_cases> and a big foreach loop.

WWW: http://search.cpan.org/dist/Test-TableDriven/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/devel/p5-Test-TableDriven/ && make install clean
To add the package: pkg install p5-Test-TableDriven

PKGNAME: p5-Test-TableDriven


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. perl5.20.2 : lang/perl5.20
Runtime dependencies:
  1. perl5.20.2 : lang/perl5.20

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Test/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Test/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Test/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Test/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Test/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Test/
  7. ftp://ftp.sunet.se/pub/lang/perl/CPAN/modules/by-module/Test/
  8. http://backpan.perl.org/modules/by-module/Test/
  9. http://cpan.metacpan.org/modules/by-module/Test/
  10. http://distcache.FreeBSD.org/ports-distfiles/
  11. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Test/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Test/
  13. http://www.cpan.dk/modules/by-module/Test/
  14. http://www.cpan.dk/modules/by-module/Test/
  15. http://www.cpan.org/modules/by-module/Test/

Number of commits found: 8

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
26 Nov 2014 13:08:38
Original commit files touched by this commit  0.02_2
Revision:373448
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2014 10:55:59
Original commit files touched by this commit  0.02_1
Revision:371547
bapt search for other commits by this committer
Cleanup plist
30 Sep 2013 20:41:25
Original commit files touched by this commit  0.02_1
Revision:328870
sunpoet search for other commits by this committer
- Support STAGEDIR
20 Sep 2013 17:13:47
Original commit files touched by this commit  0.02_1
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
21 Aug 2013 17:42:58
Original commit files touched by this commit  0.02_1
Revision:325163
sunpoet search for other commits by this committer
- Cleanup Makefile header
21 Aug 2013 14:08:08
Original commit files touched by this commit  0.02_1
Revision:325134
sunpoet search for other commits by this committer
- Convert to new perl framework
11 Jun 2011 16:17:10
Original commit files touched by this commit  0.02_1
sunpoet search for other commits by this committer
- Update RUN_DEPENDS: Data::Dumper is already in lang/perl5.*
- Bump PORTREVISION for dependency change

Notified by:    az@
11 Jun 2011 14:51:18
Original commit files touched by this commit  0.02
sunpoet search for other commits by this committer
- Add p5-Test-TableDriven 0.02

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
%test_cases> and a big foreach loop.

WWW: http://search.cpan.org/dist/Test-TableDriven/

Number of commits found: 8

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
libressl*May 31
libressl-devel*May 31
linux-c6-openssl*May 31
nginxMay 31
nginx-develMay 31
openssl*May 31
openvswitchMay 29
cactiMay 28
chromiumMay 28
chromiumMay 28
chromiumMay 28
php55May 28
php55-gdMay 28
php55-pharMay 28
php56May 28

12 vulnerabilities affecting 26 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26092
Broken 286
Deprecated 58
Ignore 550
Forbidden 0
Restricted 202
No CDROM 85
Vulnerable 53
Expired 15
Set to expire 45
Interactive 0
new 24 hours 4
new 48 hours9
new 7 days35
new fortnight61
new month132

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.