Write a test script that includes successes and failures but don't name it as a test script in your test suite. Add to your test suite a test that runs the above test script and verifies that it outputs "ok 1" and "not ok 2" or whatever. Simple.
- tye
In reply to Re: Testing test function (fork)
by tye
in thread Testing test function
by sedusedan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |