in reply to Testing my tests (mutation testing)

Maybe I'm out of my depth here, since I have no practical experience of it, but isn't that what's known as mutation testing? Searching CPAN, I find this: https://metacpan.org/pod/Devel::Mutator

Replies are listed 'Best First'.
Re^2: Testing my tests
by pjcj (Novice) on Feb 27, 2017 at 08:37 UTC

    Yes, exactly, this is mutation testing. It's been on the Devel::Cover TODO list for years (item 7 at https://st.aticpan.org/source/PJCJ/Devel-Cover-1.23/docs/TODO). It doesn't have to be done as a part of Devel::Cover, but the advantage to that approach is that Devel::Cover knows which tests exercise the ops being changed and so can only run those tests. Otherwise the whole thing can get even more expensive than it already is.

    This disadvantage to that approach, obviously, is that no one has done it.

Re^2: Testing my tests
by toolic (Bishop) on Feb 27, 2017 at 16:37 UTC
      That's it. I was looking for those. Thanks (all of you) for pointing me to the right name and the right modules.