Skip to content

Test Failure: Test Explorer Suite | Debugging | lldb-dap | Debugs specified XCTest test failed on Windows nightly-main #1986

@matthewbastien

Description

@matthewbastien

Failure logs

AssertionError [ERR_ASSERTION]: 
  Build Output:
  > d:\a\vscode-swift\vscode-swift\assets\test\defaultPackage\.build\x86_64-unknown-windows-msvc\debug\defaultPackagePackageTests.xctest PackageTests.PassingXCTestSuite/testPassing

  + expected - actual

      {
        "enqueued": []
        "errored": []
        "failed": []
    -  "passed": []
    -  "skipped": [
    +  "passed": [
          "PackageTests.PassingXCTestSuite"
          "PackageTests.PassingXCTestSuite/testPassing"
        ]
    +  "skipped": []
        "unknown": 0
      }
  
  at assertTestResults (d:\a\vscode-swift\vscode-swift\test\integration-tests\testexplorer\utilities.ts:121:12)
  at Context.runXCTest (d:\a\vscode-swift\vscode-swift\test\integration-tests\testexplorer\TestExplorerIntegration.test.ts:111:30)

Link to failed run: https://github.com/swiftlang/vscode-swift/actions/runs/19972891704

Additional context
I was able to reproduce this myself on an x86_64 Windows machine with the latest nightly Swift release (6.3-dev). When you debug XCTest suites they will always show up as skipped in the UI after the debug session completes:

Image

Metadata

Metadata

Labels

XCTestIssues related to testing integration for XCTestlldb-daptesting infrastructureIssues related to CI jobs or extension test caseswindowsIssue specific to Windows

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions