Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 663 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 663 Bytes

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>