swiftlang / vscode-swift

Visual Studio Code Extension for Swift
https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang
Apache License 2.0
706 stars 47 forks source link

No coverage results if one test in suite fails #854

Closed award999 closed 3 weeks ago

award999 commented 3 weeks ago

Describe the bug If any test in an XCTest or swift-testing suite fails, we aren't showing coverage results

To Reproduce Steps to reproduce the behavior:

  1. Run individual test in Coverage mode that passes
  2. Not you see the green line coverage in source
  3. Now run the whole suite that has a failing test case
  4. Even though other test passes, we don't display any coverage results unless all tests pass

Expected behavior Should show coverage

Environment

Additional context N/A

award999 commented 3 weeks ago

Issue with toolchain