The thing
If you have nested suites with explicit annotations with .datadogTesting, they get reported twice for the same test session to Datadog.
Example:
@Suite(.datadogTesting)
struct OuterSuite {
@Suite(.datadogTesting) {
struct InnerSuite {
@Test func myTest() { }
}
}
I only see the test ran once in the CI logs, but in Datadog it showed two results
Edge Case
This is an edge case. If you DO NOT explicitly annotate the nested suite, it reports as expected only 1 time.
The thing
If you have nested suites with explicit annotations with
.datadogTesting, they get reported twice for the same test session to Datadog.Example:
I only see the test ran once in the CI logs, but in Datadog it showed two results
Edge Case
This is an edge case. If you DO NOT explicitly annotate the nested suite, it reports as expected only 1 time.