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

distinfo:

SHA256 (Test-TableDriven-0.02.tar.gz) = 425878afcf2a14e047caf891b1915e9f5ffb036941609c438e0dfbd1b5b1859a
SIZE (Test-TableDriven-0.02.tar.gz) = 13735


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

Build dependencies:
  1. perl5>=5.20<5.21 : lang/perl5.20
Runtime dependencies:
  1. perl5>=5.20<5.21 : 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/
  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/
  10. http://cpan.metacpan.org/modules/by-module/Test/
  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.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
linux-c6-openssl*Sep 30
openssl*Sep 30
openssl-devel*Sep 30
bind9-develSep 28
bind910Sep 28
bind911Sep 28
bind99Sep 28
libresslSep 26
libressl-develSep 26
opensslSep 26
openssl-develSep 26
irssi*Sep 22
irssi*Sep 22
firefoxSep 20
firefox*Sep 20

7 vulnerabilities affecting 32 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 26275
Broken 376
Deprecated 246
Ignore 639
Forbidden 0
Restricted 199
No CDROM 83
Vulnerable 59
Expired 20
Set to expire 232
Interactive 0
new 24 hours 0
new 48 hours6
new 7 days33
new fortnight59
new month119

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