Adding docs for the test report hooks.

This commit is contained in:
Josh Suereth 2014-04-22 11:29:13 -04:00
parent fc3f6dd1d9
commit 373166be36
2 changed files with 13 additions and 0 deletions

View File

@ -13,6 +13,7 @@ Changes
- name-hashing incremental compiler now supports scala macros. - name-hashing incremental compiler now supports scala macros.
- ``testResultLogger`` is now configured. - ``testResultLogger`` is now configured.
- sbt-server hooks for task cancellation. - sbt-server hooks for task cancellation.
- Add ``JUnitXmlReportPlugin`` which generates junit-xml-reports for all tests.
0.13.1 to 0.13.2 0.13.1 to 0.13.2

View File

@ -104,6 +104,18 @@ tests for that file complete. This can be disabled by setting :key:`logBuffered`
logBuffered in Test := false 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 Options
======= =======