Skip to content

Adds a Run All Skipped Tests command - #3090

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

DanTup merged 1 commit into
Dart-Code:masterfrom
BootBlock:run-skipped-tests

Conversation

@BootBlock

Copy link
Copy Markdown
Contributor

Fixes #3048.

@DanTup DanTup left a comment

Copy link
Copy Markdown
Member

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 thread src/extension/views/test_view.ts
Comment thread src/test/dart_debug/debug/dart_test.test.ts
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
Copy Markdown
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

DanTup commented Jan 23, 2021

Copy link
Copy Markdown
Member

@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