- or download this
use Test::More tests => 2;
...
}
is(1,1,'Outside') and diag 'Out';
- or download this
$ prove -lrv foo.t
foo.t ..
...
TODO passed: 1
Files=1, Tests=2, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.01 cusr
+ 0.00 csys = 0.03 CPU)
Result: PASS
- or download this
$ prove -lr foo.t
foo.t .. 1/2 # Out
...
TODO passed: 1
Files=1, Tests=2, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.02 cusr
+ 0.00 csys = 0.04 CPU)
Result: PASS
- or download this
use Test::More tests => 3;
...
}
is(1,1,'Back Outside') and diag 'Out Again';
- or download this
$ prove -lr foo.t
foo.t .. 1/3 # Out
# Out Again
foo.t .. ok
All tests successful.
- or download this
$ prove -lrv foo.t
foo.t ..
...
# Out Again
ok
All tests successful.