Plan? There Ain't No Plan!
The plan exists for protection against:
- Accidentally not printing tests to STDOUT
- Accidentally removing tests
The first two have other protections
- So the plan isn't critical
Newer versions of Test::Harness allow the plan to be at the end.
ok 1
ok 2
ok 3
1..3
which allows Test::More to count your tests for you using 'no_plan'
- You have to upgrade Test::Harness for this to work.
- Test::More will do this when you install it
Prev | toc | Next