I'm starting using a common approach to make tests, based on module-starter. And so I have t subdirectories such as:
t/10_Module1Test t/20_Module2Test t/30_Module3Test
Each subdirectory will contain numerical-prefixed series of .t files.
My questions are, these tests will be run against many configuration files. For each individual test to load a config file is rather silly. Is there a well-known approach of sharing resources between multiple tests ? And, how can several configuration files be used, with the same tests run for each config file ? The numbering scheme seems to point to sequential execution instead of loops.
Bonus question: I've read José's Guide (here on PerlMonks) although it does not elaborate on testing strategies. Are there references out there that explores various ways of constructing tests ?
Thanks and best wishes for 2010!
In reply to Tests strategies: sharing of resources by carcassonne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |