Files
sbt/notes
Ashley Mercer b37fc6d5be Allow JUnitXmlTestsListener output directory to be configured
Add `testReportsDirectory` setting to allow output directory for
JUnitXmlTestsListener to be configured.

Add `testReportSettings` which provides defaults values:

- by default this uses the build configuration name as a prefix so
  `target/test-reports` for `Test` config, but `target/it-reports`
  for `IntegrationTest` (previously this was hardcoded to always
  use `target/test-reports`). To override this set e.g.

  `Test / testReportsDirectory := target.value / "my-custom-dir"`

- the `JunitXmlTestsListener` is now only attached to the `Test`
  and `IntegrationTest` configs by default (previously it was added
  to the global configuration object). Any configs which inherit
  from one of these will continue to have the listener attached;
  but completely custom configurations will need to re-add with:

  `project.settings(testReportSettings)`

Fixes #2853
2021-04-12 12:17:50 +01:00
..
2018-05-04 16:39:05 +02:00
2016-05-06 16:01:49 -04:00
2016-05-06 16:01:49 -04:00
2016-05-06 16:01:49 -04:00
2016-05-06 16:01:49 -04:00
2015-01-24 13:45:15 -05:00
2019-09-05 14:11:13 -04:00
2019-09-05 14:11:13 -04:00
2019-09-05 14:11:04 -04:00
2019-09-05 14:11:04 -04:00
2019-09-05 14:11:04 -04:00
2019-09-05 14:11:13 -04:00
2019-09-05 14:11:13 -04:00
2019-09-05 14:11:13 -04:00
2019-09-05 14:11:04 -04:00
2017-09-16 20:32:33 -04:00
2017-10-26 22:39:35 -04:00
2017-11-25 05:26:51 -05:00
2019-09-05 14:11:04 -04:00
2019-09-05 14:11:04 -04:00
2019-09-05 14:11:13 -04:00
2017-12-15 01:49:14 +00:00