Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot debug single XCTest in 1.11.2 #1097

Closed
ahoppen opened this issue Sep 25, 2024 · 1 comment
Closed

Cannot debug single XCTest in 1.11.2 #1097

ahoppen opened this issue Sep 25, 2024 · 1 comment

Comments

@ahoppen
Copy link
Member

ahoppen commented Sep 25, 2024

Trying to debug just the testFoo test in the following example executes no tests.

import XCTest

class MyTests: XCTestCase {
    func testFoo() {
        print("x")
    }
}

This was working on 1.11.1. I assume this issue was caused by #1086.

@plemarquand plemarquand self-assigned this Sep 25, 2024
plemarquand added a commit to plemarquand/vscode-swift that referenced this issue Sep 25, 2024
When sending tests to be debugged they don't respect regex.

Issue: swiftlang#1097
plemarquand added a commit that referenced this issue Sep 26, 2024
* Only add line terminator to selector when not debugging tests

When sending tests to be debugged they don't respect regex.

Issue: #1097
@plemarquand plemarquand added the needs verification Issue has been fixed, but requires verification before closing label Sep 26, 2024
@matthewbastien
Copy link
Member

Verified with 0d3185f

@matthewbastien matthewbastien removed the needs verification Issue has been fixed, but requires verification before closing label Sep 26, 2024
@matthewbastien matthewbastien removed their assignment Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants