Skip to content

dmitchellmim/sbt-junit-sysout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published