forked from I2P_Developers/i2p.i2p
Set up build.xml test harness to run the JUnit4 tests as well
You will need junit4.jar, hamcrest-core.jar and hamcrest-library.jar in your Ant library path (probably /usr/share/ant/lib)
This commit is contained in:
@ -233,7 +233,7 @@
|
||||
<!-- replace hostname that junit inserts into reports with fake one -->
|
||||
<replace dir="../../reports/router/junit/" token="${host.name}" value="${host.fakename}"/>
|
||||
</target>
|
||||
<target name="test" depends="scalatest.test"/>
|
||||
<target name="test" depends="junit.test"/>
|
||||
<!-- test reports -->
|
||||
<target name="scalatest.report">
|
||||
<junitreport todir="../../reports/router/scalatest">
|
||||
@ -265,7 +265,7 @@
|
||||
<cobertura-report format="html" srcdir="./src" destdir="../../reports/router/html/cobertura" />
|
||||
<delete file="./cobertura.ser" />
|
||||
</target>
|
||||
<target name="test.report" depends="scalatest.report, clover.report, cobertura.report"/>
|
||||
<target name="test.report" depends="junit.report, clover.report, cobertura.report"/>
|
||||
<!-- end test reports -->
|
||||
<target name="fulltest" depends="cleandep, test, test.report" />
|
||||
<!-- end unit tests -->
|
||||
|
Reference in New Issue
Block a user