background image
<< I'm ok, you're ok | Date::ICal >>
<< I'm ok, you're ok | Date::ICal >>
YOU FAILED!!!
YOU FAILED!!!
#!/usr/bin/perl -w
use Test::Simple tests => 2;
ok( 1 + 1 == 2 );
ok( 2 + 2 == 5 );
from that comes:
1..2
ok 1
not ok 2
# Failed test (contrived.t at line 5)
# Looks like you failed 1 tests of 2.
x
"1..2" I'm going to run two tests.
x
"ok 1" The first test passed.
x
"not ok 2" The second test failed.
x
Some helpful commentary from Test::Simple