Open sunshowers opened 4 days ago
Unfortunately the nested <testsuite>
approach might not work because most tooling can't handle it -- they expect the <testsuites>
/<testsuite>
/<testcase>
pattern. For example, see https://github.com/sebastianbergmann/phpunit/issues/2964.
So the options are:
<properties>
across all <testsuite>
instances.<properties>
to the global <testsuites>
, going against the XSD.<testsuite>
.
NEXTEST_JUNIT_PROPERTY_foo = bar
environment variable that becomes a propertyfoo = bar
.<testsuite>
, not a<testsuites>
. Nest<testsuite>
elements for each binary within the parent<testsuite>
. This is allowed by the XSD https://llg.cubic.org/docs/junit/ but some parsers might not like it so we might need to be careful.