bbaldino
03/05/2021, 6:18 PMcontext("when starting a Foo") {
context("and thing A happens") {
should("throw an error") {
}
}
context("and thing B happens") {
should("throw an error") {
}
}
}
and when I get a failure, in the junit output I just get: "should throw an error"
for context, which is ambiguous between those 2 cases. Is there a way to get the full context “tree” when a failure happens?sam
03/05/2021, 6:49 PMsam
03/05/2021, 6:49 PMbbaldino
03/05/2021, 6:49 PMbbaldino
03/05/2021, 6:49 PMsam
03/05/2021, 6:50 PMsam
03/05/2021, 6:50 PMbbaldino
03/05/2021, 6:50 PMbbaldino
03/15/2021, 5:44 PMJunitXmlReporter
? (from the link you sent here: https://kotest.io/docs/extensions/junit_xml.html)bbaldino
03/15/2021, 5:44 PMsam
03/15/2021, 5:44 PMsam
03/15/2021, 5:44 PMbbaldino
03/15/2021, 5:44 PMbbaldino
03/15/2021, 5:46 PMkotest-extensions-junit5
?)sam
03/15/2021, 5:47 PMbbaldino
03/15/2021, 5:47 PMsam
03/15/2021, 5:47 PMsam
03/15/2021, 5:47 PMbbaldino
03/15/2021, 5:48 PMsam
03/15/2021, 5:48 PMbbaldino
03/15/2021, 5:48 PMbbaldino
03/15/2021, 5:49 PMsam
03/15/2021, 5:49 PMsam
03/15/2021, 5:49 PMsam
03/15/2021, 5:49 PMsam
03/15/2021, 5:49 PMbbaldino
03/15/2021, 5:49 PMuseJUnitPlatform()
is doingsam
03/15/2021, 5:50 PMsam
03/15/2021, 5:50 PMbbaldino
03/15/2021, 5:50 PMbbaldino
03/15/2021, 5:59 PMJunitXmlReporter
in either of those…trying to look at github but don’t see either of those repos under `kotest`…are they under a different name?sam
03/15/2021, 6:00 PMbbaldino
03/15/2021, 6:00 PMsam
03/15/2021, 6:00 PMbbaldino
03/15/2021, 6:05 PMkotest-extensions-junitxml
has been around for a while, it has a 4.1.3 version. and JunitXmlReporter
seems like it’s been around since that timeframesam
03/15/2021, 6:06 PMbbaldino
03/15/2021, 6:06 PMsam
03/15/2021, 6:06 PMsam
03/15/2021, 6:06 PMbbaldino
03/15/2021, 6:07 PMsam
03/15/2021, 6:07 PMbbaldino
03/15/2021, 6:07 PMbbaldino
03/15/2021, 6:08 PM<type>pom</type>
when adding the junitxml depsam
03/15/2021, 6:08 PMsam
03/15/2021, 6:08 PMsam
03/15/2021, 6:08 PMbbaldino
03/15/2021, 6:08 PMbbaldino
03/15/2021, 6:10 PMJunitXmlReporter
(it’s not in 4.1.3 looks like)bbaldino
03/15/2021, 6:10 PMbbaldino
03/15/2021, 8:18 PMJunitXmlReporter
sam
03/15/2021, 8:19 PMbbaldino
03/15/2021, 8:19 PMsam
03/15/2021, 8:19 PMsam
03/15/2021, 8:19 PMbbaldino
03/15/2021, 8:20 PMsam
03/15/2021, 8:20 PMbbaldino
03/15/2021, 8:20 PMsam
03/15/2021, 8:20 PMbbaldino
03/15/2021, 8:20 PMsam
03/15/2021, 8:20 PMbbaldino
03/15/2021, 8:20 PMsam
03/15/2021, 8:20 PMsam
03/15/2021, 8:21 PMbbaldino
03/15/2021, 8:21 PMbbaldino
03/15/2021, 8:22 PMsam
03/15/2021, 8:22 PMsam
03/15/2021, 8:23 PMbbaldino
03/15/2021, 8:23 PMbbaldino
03/15/2021, 8:23 PMbbaldino
03/15/2021, 8:23 PM