You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test IDs returned by #1151 don’t qualify the tests with the filename, line and column. Because of this, the test IDs may be ambiguous, eg. when multiple files define a private @Test function with the same name.
We should include the filename, line and column in the test ID as MyModule.S/f()/Tests.swift:2:3.
Note that when trying to test this, the --filter argument takes a regex, so the parentheses need to be escaped (and technically .)
The text was updated successfully, but these errors were encountered:
My understanding is that the filter is a regex and MyModule.S/f\(\) would match both MyModule.S/f\(\)/FileA.swift:1:1 and MyModule.S/f\(\)/FileB.swift:1:1 and thus run both tests.
The test IDs returned by #1151 don’t qualify the tests with the filename, line and column. Because of this, the test IDs may be ambiguous, eg. when multiple files define a private
@Test
function with the same name.We should include the filename, line and column in the test ID as
MyModule.S/f()/Tests.swift:2:3
.Note that when trying to test this, the
--filter
argument takes a regex, so the parentheses need to be escaped (and technically.
)The text was updated successfully, but these errors were encountered: