Mervyn McCreight
10/20/2021, 5:49 PMJUnitXmlReporter
in one of my projects.
I set it up according to the documentation, but the final XML files still only contain the leaf name of the tests for nested tests.
What I have seen while debugging that the reporter itself is working correctly and directly after doing the file operations in the reporter the XML files are correct. But something happens afterwards overwriting the XML files from the JUnitXmlReporter
š
Anyone got an idea or can see the same behaviour?
Im using version 4.6.3
of KoTest.sam
10/20/2021, 5:51 PMMervyn McCreight
10/21/2021, 8:01 AMsam
10/21/2021, 2:18 PMMervyn McCreight
10/21/2021, 2:18 PMsam
10/21/2021, 2:20 PMMervyn McCreight
10/21/2021, 2:21 PMAbstractProjectConfig
where I added the reporter to the listeners.
When I remove the reporter from the list of listeners, I see the same report getting generated.tasks.withType<Test> {
useJUnitPlatform()
// this reports block I needed to add
reports {
junitXml.required.set(false)
}
systemProperty("gradle.build.dir", project.buildDir)
}
To the build.gradle.kts
and now the report of the JUnitXmlReporter
does not get overwritten anymore.
Thanks for your help!sam
10/21/2021, 2:30 PMMervyn McCreight
10/21/2021, 2:30 PMJUnitXmlReporter
on the page of KoTest? š¤sam
10/21/2021, 2:30 PMMervyn McCreight
10/21/2021, 2:31 PMsam
10/21/2021, 2:31 PMMervyn McCreight
10/21/2021, 5:20 PMsam
10/21/2021, 5:24 PMMervyn McCreight
10/21/2021, 5:25 PMsam
10/21/2021, 5:25 PM