Open
Description
Description
When I tested using 0.10.0 of swift-testing and swift 6, the output.xml didn't include information supplied to the @Test
annotation. I would personally like for that information to be included in the output.xml file.
Expected behavior
Using this code:
import Testing
@testable import SingleThatPasses
extension Tag {
@Tag static var task_1: Self
@Tag static var task_2: Self
@Tag static var task_3: Self
@Tag static var task_4: Self
}
@Test("cool test", .tags(.task_1)) func Add() {
#expect(sum(2, 3) == 5, "2+3 should equal 5")
}
I would expect:
<testsuites>
<testsuite name="TestResults" errors="0" tests="1" failures="0" time="0.002104295">
<testcase classname="SingleThatPassesTests" name="Add()" time="0.001154588" description="cool test" />
<tag name="task_1"></tag>
</testsuite>
</testsuites>
Actual behavior
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="TestResults" errors="0" tests="1" failures="0" time="0.002104295">
<testcase classname="SingleThatPassesTests" name="Add()" time="0.001154588" />
</testsuite>
</testsuites>
Steps to reproduce
No response
swift-testing version/commit hash
No response
Swift & OS version (output of swift --version && uname -a
)
No response
Metadata
Metadata
Assignees
Type
Projects
Status
No status
Activity