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
[SR-10801] swift test --filter
should display summary for the entire group of tests run, not per-test
#412
Comments
Still working on this, ronaldsmartin (JIRA User)? (I'm checking in on all the StarterBugs that haven't been touched in over a month; it's totally fine if you just haven't had time but still want to keep it.) |
It looks like this is fixed in Xcode 12 beta 1 / Swift 5.3? |
Comment by Yogesh Anand Manghnani (JIRA) Is this issue resolved? I am planning to take this up and get my hands dirty. |
I checked this issue on swift-package-manager itself using command swift test --filter WorkspaceTests.WorkspaceTests/testDownloadArchiveIndexFilesHappyPath --filter WorkspaceTests.WorkspaceTests/testDownloadArchiveIndexServerError --filter SPMBuildCoreTests --filter CommandsTests and the result was at the end
I guess maybe a point of improvement is to merge all intermediate test target execution results at the end of execution and not in middle |
iiuc this output is from XCTest, @stmontgomery? |
Correct, this comes from XCTest. Maybe this issue should be transferred there |
Additional Detail from JIRA
md5: d467ad91fd39d257442a08b5a39a89a5
Issue Description:
When running `swift test` with no --filter, the summary at the bottom is useful to see how many tests failed:When running `swift test` with no --filter, the summary at the bottom is useful to see how many tests failed:
With the --filter it seems to run each matched test individually as "selected tests", so the summary is printed per test meaning you can't see at a glance how many tests failed by looking at the last line:
The text was updated successfully, but these errors were encountered: