Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Testing my tests

by dagfinnr (Initiate)
on Feb 27, 2017 at 07:30 UTC ( [id://1182936]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1182936]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-26 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found