in reply to Testing my tests (mutation testing)
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing my tests
by stevieb (Canon) on Feb 27, 2017 at 02:08 UTC | |
by LanX (Saint) on Feb 27, 2017 at 02:54 UTC | |
by szabgab (Priest) on Feb 27, 2017 at 05:39 UTC | |
by LanX (Saint) on Feb 27, 2017 at 06:04 UTC | |
by stevieb (Canon) on Feb 27, 2017 at 03:29 UTC | |
by RonW (Parson) on Feb 27, 2017 at 23:42 UTC |