|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: How to test less with Test::More?by McMahon (Chaplain) |
| on Aug 18, 2004 at 17:49 UTC ( [id://384123]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I'm not much of a unit tester, but your problem has been addressed at the system level in a number of ways. Googling data-driven test might give you some good ideas about how to implement this. Typically the test framework (whatever it is) reads in a set of test-case identifiers and/or data for particular tests for a particular test run. A database, delimited file, or spreadsheet can hold the data that drives the tests.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||