[tapx-dev] Test::Harness 3.0
Andy Dougherty
doughera at lafayette.edu
Mon Jul 23 17:17:47 BST 2007
On Mon, 23 Jul 2007, Andy Armstrong wrote:
> On 23 Jul 2007, at 15:39, Andrew Dougherty wrote:
> > and got the following. If you look at the summary line for countingbug.t,
> > you'll see it's claiming 7 failed tests. It has double-counted tests 5
> > and 6, which were never even attempted.
> >
Here's the countingbug.t test script.
#!/usr/bin/perl -wT
use strict;
use lib 'lib';
use TAP::Base;
use Test::More tests => 6;
ok(1);
ok(0);
ok(0);
ok(0);
die("unexpected crash!");
ok(5);
ok(6);
--
Andy Dougherty doughera at lafayette.edu
More information about the tapx-dev
mailing list