[ 
https://issues.apache.org/jira/browse/LUCENE-4332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443332#comment-13443332
 ] 

Hoss Man commented on LUCENE-4332:
----------------------------------

I had never heard of this technique until Greg mentioned it on the list, but 
the key thing that really impresses me about it is that (from what i can see) 
it can help us find code whose behavior does not affect the output of the test 
-- this is something no "code coverage" tool like clover and emma can do.  

Clover is great for reporting that when the tests are run, method "bar()" is 
executed 200 times but "foo()" is never executed at all, but that doesn't tell 
us anything about whether the success of a test is actually dependent on the 
results of "bar()" being correct.  With these kinds of mutation testing, we 
will be able to see reports that say "bar() was executed 200 times, but when i 
munged the result of of bar() it didn't cause any tests to fail" which could be 
a big help for identifying tests where we assert the results of method calls, 
but forget to assert the "side effects" of those calls.


                
> Integrate PiTest mutation coverage tool into build
> --------------------------------------------------
>
>                 Key: LUCENE-4332
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4332
>             Project: Lucene - Core
>          Issue Type: Improvement
>    Affects Versions: 4.1, 5.0
>            Reporter: Greg Bowyer
>            Assignee: Greg Bowyer
>              Labels: build
>         Attachments: 
> LUCENE-4332-Integrate-PiTest-mutation-coverage-tool-into-build.patch, 
> LUCENE-4332-Integrate-PiTest-mutation-coverage-tool-into-build.patch
>
>
> As discussed briefly on the mailing list, this patch is an attempt to 
> integrate the PiTest mutation coverage tool into the lucene build

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to