It would be much easier to answer if you provided an example.
What you say sounds a lot like automated proving, which is impossible.
You may want to try generating random input for your unit tests, but then you need to manually approve if the returned results are correct and should be frozen into your tests.
For this to work you need to know which and how many arguments you expect. (Including global context and side effects)
Not sure if this is possible.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Testing my tests
by LanX
in thread Testing my tests (mutation testing)
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |