Skip to content

Adds a Run All Skipped Tests command#3090

Merged
DanTup merged 1 commit intoDart-Code:masterfrom
BootBlock:run-skipped-tests
Jan 23, 2021
Merged

Adds a Run All Skipped Tests command#3090
DanTup merged 1 commit intoDart-Code:masterfrom
BootBlock:run-skipped-tests

Conversation

@BootBlock
Copy link
Contributor

Fixes #3048.

Copy link
Member

@DanTup DanTup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some nits!

Comment on lines +371 to +372
// Get the expected tree and filter it to only skipped tests.
// const expectedResults = getExpectedResults().split("\n").filter((l) => l.includes("skip.svg")).join("\n");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is out of date, and the commented code can be removed. I presume the expectedResults variable below is to account for differences when running skipped tests from the normal expected results embedded in the file.

@DanTup DanTup added this to the v3.19.0 milestone Jan 22, 2021
@DanTup DanTup added in commands Relates to commands (usually invoked from the command Palette) in testing Relates to test execution of Dart/Flutter tests for end users is enhancement An enhancement or improvement that should be listed in release notes but is not a bug fix. labels Jan 22, 2021
@DanTup DanTup merged commit 644393f into Dart-Code:master Jan 23, 2021
@DanTup
Copy link
Member

DanTup commented Jan 23, 2021

@BootBlock I merged this and addressed the nits in 81f9a87. Thanks!

@BootBlock BootBlock deleted the run-skipped-tests branch January 25, 2021 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in commands Relates to commands (usually invoked from the command Palette) in testing Relates to test execution of Dart/Flutter tests for end users is enhancement An enhancement or improvement that should be listed in release notes but is not a bug fix.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add the ability to "Run all Skipped Tests"

2 participants