Created
November 28, 2018 12:42
-
-
Save swallez/e6bddc52f6b9b168cdf5d56588c45a08 to your computer and use it in GitHub Desktop.
Ant file that produces html JUnit reports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="scala-services" default="junitreport"> | |
<target name="junitreport"> | |
<mkdir dir="./target/test-html"/> | |
<junitreport> | |
<fileset dir="./target/test-reports"> | |
<include name="TEST-*.xml"/> | |
</fileset> | |
<report todir="./target/test-html"/> | |
</junitreport> | |
<script language="javascript"><![CDATA[ | |
java.awt.Desktop.getDesktop().open(new java.io.File("./target/test-html/index.html")); | |
]]></script> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment