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.
I like the idea of a tool, but why turn off all runtime contract checks? Wouldn't you want them in there to catch the errors?
And, putting dreams aside, I'm going now to read about specification testing and try Test::LectroTest :)
Me too, Test::LectroTest looks very cool.
In reply to Re^4: Being more Assert-ive with Perl
by stvn
in thread Being more Assert-ive with Perl
by stvn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |