mirror of https://github.com/sbt/sbt.git
1.1 KiB
1.1 KiB
Fixes with compatibility implications
- Add a new setting
testReportsDirectoryto allow output directory for JUnitXmlTestsListener to be configured, and exposetestReportSettingswhich provides defaults for new configurations #2853 by @ashleymercer- output directory now uses the configuration name as a prefix so
target/test-reportsfor theTestconfiguration buttarget/it-reportsfor theIntegrationTestconfiguration (previously this was hardcoded to always usetarget/test-reports). To override this set e.g.Test / testReportsDirectory := target.value / "my-custom-dir" - the
JunitXmlTestsListeneris now only attached to theTestandIntegrationTestconfigurations by default (previously it was added to the global configuration object). Any configurations which inherit from one of these will therefore continue to have the listener attached; but completely custom configurations will need to re-add it with.settings(testReportSettings)
- output directory now uses the configuration name as a prefix so