swift test
output does not differentiate tests with the same name from different suites
#841
Labels
command-line experience
enhancements to the command line interface
enhancement
New feature or request
Description
Given I have two test suites that look like the following:
The output of
swift test
does not allow the reader to distinguish between the twopart1
tests in separate test suites. I encountered this when working on my AdventOfCode project, but I think there's a variety of projects that use generic function names for tests (thinktestEquatable
/testHashable
in suites for each publicly defined type) that would need to differentiate between these tests.Is there a way the output could differentiate? IIRC XCTest fully qualified the test names with the suite names, but I might be wrong on that
Expected behavior
I expect that the produced output of
swift test
would differentiate (potentially via fully qualifying) tests with the same name in different suitesActual behavior
Tests are not differentiated:
Steps to reproduce
swift test
as well)swift-testing version/commit hash
Testing Library Version: 102 (arm64e-apple-macos13.0)
Swift & OS version (output of
swift --version ; uname -a
)Xcode 16.1 (16B40) on macOS 15.1.1 (24B91)
The text was updated successfully, but these errors were encountered: