• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PDLPorters / pdla / 16
63%

Build:
DEFAULT BRANCH: master
Ran 29 Aug 2015 07:35PM UTC
Jobs 1
Files 78
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
16

Pull #7

travis-ci

zmughal
test cleanup part 3

 - place all the eval { require ... } or plan skip_all in BEGIN {} blocks

 - using `Test::More` module (no hand-rolled TAP or `Test` module)

 - `use strict; use warnings` everywhere

 - remove use of `$a`, `$b` lexicals (reserved for `sort` function)

 - using `Test::Exception` (lives_ok, dies_ok, etc.) rather than the `eval { $code }; ok $@` combination

 - make each individual test run in its own scope
   e.g.
   ```perl
   {
 	my $test = ...
 	ok( ... );
   }
   {
 	my $test = ...
 	ok( ... );
   }
   ```
   This makes tests not dependent on previous code which means that they can be
   moved around without worrying about state. In the future, these should be setup
   as labelled subtests.

 - Using `all approx( ... )` instead of a custom `tapprox( ... )` in each file.

 - update TODO to remove the test refactoring items
Pull Request #7: Test cleanup 3

10213 of 16353 relevant lines covered (62.45%)

121.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 16.1 (COVERAGE=1) 29 Aug 2015 07:35PM UTC 0
62.45
Travis Job 16.1
Source Files on build 16
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #16
  • Pull Request #7
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc