June 27, 2007 Component-Focused Testing Back

Perl Best Testing Practices Apply to Parrot As Well

1 Study each tool

2 Extract functionality into subroutines in separate module

3 Rewrite tool as series of calls to subroutines from modules

4 Write test scripts that focus on individual subroutines

5 If tests create files, use a temporary directory

continued...


Home Last TOC Copyright © 2007 James E Keenan Back Next