in reply to Re^2: Testing Perl Package
in thread Testing Perl Package
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Testing Perl Package
by nlalitha (Initiate) on May 10, 2013 at 09:15 UTC | |
by Corion (Patriarch) on May 10, 2013 at 09:19 UTC | |
by choroba (Cardinal) on May 10, 2013 at 09:20 UTC | |
by Anonymous Monk on May 10, 2013 at 09:35 UTC | |
by nlalitha (Initiate) on May 10, 2013 at 11:53 UTC |