diff --git a/src/sphinx/Community/Changes.rst b/src/sphinx/Community/Changes.rst index 4b038de3b..0212c01ca 100644 --- a/src/sphinx/Community/Changes.rst +++ b/src/sphinx/Community/Changes.rst @@ -13,6 +13,7 @@ Changes - name-hashing incremental compiler now supports scala macros. - ``testResultLogger`` is now configured. - sbt-server hooks for task cancellation. +- Add ``JUnitXmlReportPlugin`` which generates junit-xml-reports for all tests. 0.13.1 to 0.13.2 diff --git a/src/sphinx/Detailed-Topics/Testing.rst b/src/sphinx/Detailed-Topics/Testing.rst index c3ff52fa3..c709f8e29 100644 --- a/src/sphinx/Detailed-Topics/Testing.rst +++ b/src/sphinx/Detailed-Topics/Testing.rst @@ -104,6 +104,18 @@ tests for that file complete. This can be disabled by setting :key:`logBuffered` logBuffered in Test := false + +Test Reports +------------ +By default, sbt will generate JUnit XML test reports for all tests in the build, located +in the ``target/test-reports`` directory for a project. This can be disabled by +disabling the ``JUnitXmlReportPlugin`` + +:: + + val myProject = project in file(".") disablePlugins (plugins.JUnitXmlReportPlugin) + + Options =======