dmitchellmim / sbt-junit-sysout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a simple example of SBT not populating the sysout and syserr fields of a JUnit XML report (sbt/sbt#6537).

  1. Run the unit test with sbt test.
  2. Check the XML output in target/test-reports.
  3. The XML includes the following instead of populating those fields with the actual output from the test. This is because JUnitXmlTestsListener.scala hardcodes them to always be empty.
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>

About


Languages

Language:Scala 50.2%Language:Java 49.8%