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

XCTest: Debugging all tests, does not run all of the tests #864

Closed adam-fowler closed 3 weeks ago

adam-fowler commented 3 weeks ago

Describe the bug If I start a debug test run that includes more than one XCTest class, it will only run tests from one XCTest class

To Reproduce Steps to reproduce the behavior:

  1. Open project with more than one XCTest class
  2. Click on debug all tests
  3. See that only tests from one XCTest class runs

XCTest filter args are formatted as follows

xctest --XCTest <filter1>,<filter2> test.xctest

not

xctest --XCTest <filter1> --XCTest <filter2> test.xctest