|
@@ -19,7 +19,7 @@
|
|
|
<property name="sonar.exclusions" value="**/*Test*" />
|
|
|
<property name="sonar.tests" value="TDD2019TESTS/src,TDD2019OWNTESTS/src" />
|
|
|
<property name="sonar.junit.reportPaths" value="${testreports}" />
|
|
|
- <property name="sonar.jacoco.reportPath" value="${testreports}/jacoco.exec" />
|
|
|
+ <property name="sonar.jacoco.reportPaths" value="${testreports}/jacoco.exec" />
|
|
|
<property name="sonar.pitest.reportsDirectory" value="${testreports}" />
|
|
|
<property name="sonar.web.javaAdditionalOpts" value="-Dhttps.proxyHost=cache-etu.univ-artois.fr -Dhttps.proxyPort=3128" />
|
|
|
<target name="prepare" description="Cree les repertoires et initialise certaines valeurs">
|
|
@@ -111,7 +111,7 @@
|
|
|
</jacoco:coverage>
|
|
|
</target>
|
|
|
|
|
|
- <target name="m1" description="Verification des projets de TDD2019" depends="clean,build,tests" />
|
|
|
+ <target name="m1" description="Verification des projets de TDD2019" depends="clean,build,tests,mutationCoverage" />
|
|
|
|
|
|
<!-- Define the SonarQube target -->
|
|
|
<target name="sonar" depends="m1" description="Analyse le code avec SonarQube">
|
|
@@ -132,6 +132,7 @@
|
|
|
pitClasspath="mypath"
|
|
|
classPath="mypath"
|
|
|
targetClasses="migl.*"
|
|
|
+ excludedMethods="*hashCode()"
|
|
|
excludedClasses="*Test*,*Eval*"
|
|
|
targetTests="migl.*"
|
|
|
reportDir="${testreports}"
|