I think the first step would be for you to make statements about what your package is supposed to be or do.
An example could be the statement "The module compiles".
A better example would be statements on the meaning of the data in your module. Maybe "Every machine has a positive number of CAN_NETWORK_INTERFACES".
The second step is then to write programs that check that these statements are true. This is where Test::Tutorial comes in.
With which of the two steps do you have problems? What are these problems?
In reply to Re^3: Testing Perl Package
by Corion
in thread Testing Perl Package
by nlalitha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |