FreshPorts -- The Place For Ports notbugIf 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
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (2 items)
  1. lib/perl5/site_perl/Test/TableDriven.pm
  2. lib/perl5/site_perl/man/man3/Test::TableDriven.3.gz
  3. Collapse this list.

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.24<5.25 : lang/perl5.24
Runtime dependencies:
  1. perl5>=5.24<5.25 : lang/perl5.24

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. http://backpan.perl.org/modules/by-module/Test/
  8. http://cpan.metacpan.org/modules/by-module/
  9. http://cpan.metacpan.org/modules/by-module/Test/
  10. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Test/
  11. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Test/
  12. http://www.cpan.dk/modules/by-module/Test/
  13. 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
gitlabJan 17
transmission-daemonJan 14
xmltoolingJan 12
linux-flashplayerJan 09
awstatsJan 08
irssiJan 06
firefoxJan 05
waterfoxJan 05
libevhtp*Jan 04
oniguruma*Jan 04
php56-mbstring*Jan 04
php70-mbstring*Jan 04
php71-mbstring*Jan 04
irssi*Dec 31
roundcube*Dec 31

8 vulnerabilities affecting 41 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-01-17 20:50:47


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 32596
Broken 118
Deprecated 93
Ignore 355
Forbidden 0
Restricted 172
No CDROM 77
Vulnerable 39
Expired 7
Set to expire 84
Interactive 0
new 24 hours 1
new 48 hours6
new 7 days37
new fortnight446
new month957

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