in reply to Re^2: Being more Assert-ive with Perl
in thread Being more Assert-ive with Perl
Hm. Imagine a tool that takes all our declared contracts and composes a huge test suite that tries to test whether each contract is respected in our code, say, by feeding a series of valid and invalid data and turning off all runtime contract checks.
E.g. I declare that my complex compute_graviton_phasor_coefficient sub wants to take a positive prime number as argument. Now I'd like to get a test that will run it against random numbers and testing that it dies in the right places.
And, putting dreams aside, I'm going now to read about specification testing and try Test::LectroTest :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Being more Assert-ive with Perl
by stvn (Monsignor) on Sep 17, 2004 at 15:42 UTC | |
by kappa (Chaplain) on Sep 17, 2004 at 16:18 UTC |