Test reporter fixes (#1597)

* Fix error message when an invalid test reporter is supplied in Gradle
* Fix Gradle property name in docs
* Fix Gradle property name in tasks
* Introduce `TestReporter.default`, and use it in places where default
is applied
* Remove calls to `convention()`; this is not required because the input
is optional anyways.
This commit is contained in:
Daniel Chao
2026-05-19 11:32:51 -07:00
committed by GitHub
parent 3fbcd463e0
commit e34c3e8c4f
10 changed files with 80 additions and 39 deletions
+2 -2
View File
@@ -323,7 +323,7 @@ Whether to ignore expected example files and generate them again.
====
[[test-reporter]]
.test-reporter: Property<String>
.testReporter: Property<String>
[%collapsible]
====
Default: `"spec"` +
@@ -686,7 +686,7 @@ Default: `false` +
Whether to ignore expected example files and generate them again.
====
.test-reporter: Property<String>
.testReporter: Property<String>
[%collapsible]
====
Default: `"spec"` +