Skip to content

VS Code extension does not reload tests after modifying a document #1687

@ahoppen

Description

@ahoppen

When I have a SwiftPM project with a test file containing

import XCTest

class Foo: XCTestCase {
}

and I add func testFoo() {} inside the class, no new test indicator appears in the the gutter. As far as I can tell, the extension does not refresh the list of tests for the document from SourceKit-LSP. This issue did not exist in 2.2.0. Based on my bisection it was introduced between 2.2.0 and 2.4.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions