Created
August 26, 2014 12:36
-
-
Save tokubass/fb4c88b00719b9ae4d26 to your computer and use it in GitHub Desktop.
Test::Base::SubTest検証
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
use Test::Base::SubTest; | |
run_is input => 'expected'; | |
done_testing; | |
__DATA__ | |
### subtest11 | |
### subtest11 | |
=== test1 | |
--- input | |
8 | |
--- expected | |
8 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test-Base-SubTest (master) $ carton exec -- prove t/01_bug.t
t/01_bug.t .. # No tests run!
t/01_bug.t .. 1/?
Failed test 'No tests run for subtest "subtest11"'
at /Users/tokubass/.plenv/versions/5.20.0/lib/perl5/site_perl/5.20.0/Test/Base/SubTest.pm line 82.
Failed test 'No tests run for subtest "subtest11"'
at /Users/tokubass/.plenv/versions/5.20.0/lib/perl5/site_perl/5.20.0/Test/Base/SubTest.pm line 82.
Looks like you failed 2 tests of 3.
t/01_bug.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
Test Summary Report
t/01_bug.t (Wstat: 512 Tests: 3 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Files=1, Tests=3, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.05 cusr 0.01 csys = 0.10 CPU)
Result: FAIL