|
From Test::Simple to Test::Extreme - The Core Test::* Modules
|
13
|
|
|
Test::Simple
we can put any expression inside the ok(), and any descriptive text to describe the case:
ok( 1 + 1, "addition works");
ok( $rocket->fuel > $min, "there's enough fuel" );
ok( $baby->is_chubby, "the baby is well fed " );
ok( !$rocket->safety_brake->on, "nothin' holding us back " );
ok( 2 + 2 == 5, "I love Big Brother!" );
|
|