With https://github.com/swiftlang/sourcekit-lsp/pull/1530, sourcekit-lsp will start prepending a test target's name to the test id. This helps disambiguate when there are two identically named suites in two different test targets.
To maintain the current behaviour with older sourcekit-lsp versions only prefix the test target if it isn't already there.
With https://github.com/swiftlang/sourcekit-lsp/pull/1530,
sourcekit-lsp
will start prepending a test target's name to the test id. This helps disambiguate when there are two identically named suites in two different test targets.To maintain the current behaviour with older sourcekit-lsp versions only prefix the test target if it isn't already there.