Labels

algorithms (22) Design Patterns (20) java (19) linux (14) Snippet (13) service mix (6) soa (4)

Effective JUNIT's



PIT
http://pitest.org/ best place to start
Mutations supported and The details of each type of mutation are here
not all are enabled by default (please check I am not sure)


How to use with Maven
1)   Add the plugin
    org.pitest
    pitest-maven
    LATEST
   
     
        x.x.somepackage.*
     
     
     
   
 

2)   Execute the command mvn org.pitest:pitest-maven:mutationCoverage
3)   Check the report in \target\pit-reports

Sonar:
Sonar has a plugin  for pit tests which adds these survived mutations as violations

Eclipse :
To install pit for eclipse refer

No comments:

Post a Comment

Search 24 Bytes

Loading...