Skip to content

nicolasrusconi/PitestAnt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Ant task to invoke Pitest tool.
Usage:
First define the task from the pitest jar
  <path id="pitest.path" >
    <fileset dir="../lib" includes="pitest*.jar" />
  </path>
  <taskdef name="pitest" classname="org.pitest.ant.PitestTask" classpathref="pitest.path" />

Then use it in a target:
  <path id="test.path">
    ...
    <fileset dir="../lib" includes="*.jar"/>
    ...//put ALL your jars, the production,test ones and pittest jar.
  </path>

  <pitest classpath="test.path" targetClasses="org.mypackage*" inScopeClasses="org.mypackage*" reportDir="report/" sourceDir="src/" outputFormats="XML,HTML" />

About

Ant task for the Pitest tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages