An Improvement
- Test::More provides many helper functions
use Test::More 'no_plan';
- Most helper functions are based off of ok()
is( hello_world(), "Hello, world!", 'hello_world() output should be sane' );
| Perl Makes Testing Easy | Perl Testing | #24 |
use Test::More 'no_plan';
is( hello_world(), "Hello, world!", 'hello_world() output should be sane' );
| Copyright © 2006 Ian Langworth |