in reply to RFC: Perl Testing -- How to Introduce to a team
I think that the most important testing module that I learned was Test::Class. It is basically providing a OO structure to writing your tests. A good example of this is writing data Models that are working with a datbase.
I use the built-in setup and teardown methods to declare each set of tests as a transaction. When I do this I don't have to worry about which tests were run first. All db changes done for a test are automatically rolled back when they done.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: Perl Testing -- How to Introduce to a team
by adrianh (Chancellor) on Oct 20, 2006 at 18:27 UTC | |
by Herkum (Parson) on Oct 20, 2006 at 19:12 UTC | |
by adrianh (Chancellor) on Oct 20, 2006 at 19:53 UTC |