Skip to content

Debug a test annotated with the ignore attribute if the test name partially matches another test#43110

Merged
osiewicz merged 1 commit intozed-industries:mainfrom
mikeHag:debug-exact-ignored-test
Dec 1, 2025
Merged

Debug a test annotated with the ignore attribute if the test name partially matches another test#43110
osiewicz merged 1 commit intozed-industries:mainfrom
mikeHag:debug-exact-ignored-test

Conversation

@mikeHag
Copy link
Contributor

@mikeHag mikeHag commented Nov 20, 2025

Related: #42574
If an integration test is annotated with the ignore attribute, allow the "debug: Test" option of the debug scenario or Code Action to run with the "--include-ignored" and "--exact" arguments. Inclusion of "--exact" covers the case where more that one test shares a base name. For example, consider two tests named "test_no_ace_in_middle_of_straight" and "test_no_ace_in_middle_of_straight_flush." Without the "--exact" argument both tests would run if a user attempts to debug "test_no_ace_in_middle_of_straight".

Release Notes:

  • Improved "debug test" experience in Rust with ignored tests.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 20, 2025
@osiewicz osiewicz enabled auto-merge (squash) November 24, 2025 12:30
@osiewicz osiewicz disabled auto-merge November 24, 2025 12:30
@osiewicz osiewicz merged commit 6eb9f9a into zed-industries:main Dec 1, 2025
53 of 57 checks passed
@franciskafyi franciskafyi moved this from Community PRs to Done in Quality Week – December 2025 Dec 11, 2025
someone13574 pushed a commit to someone13574/zed that referenced this pull request Dec 16, 2025
…tially matches another test (zed-industries#43110)

Related: zed-industries#42574
If an integration test is annotated with the ignore attribute, allow the
"debug: Test" option of the debug scenario or Code Action to run with
the "--include-ignored" and "--exact" arguments. Inclusion of "--exact"
covers the case where more that one test shares a base name. For
example, consider two tests named "test_no_ace_in_middle_of_straight"
and "test_no_ace_in_middle_of_straight_flush." Without the "--exact"
argument both tests would run if a user attempts to debug
"test_no_ace_in_middle_of_straight".

Release Notes:

- Improved "debug test" experience in Rust with ignored tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

Development

Successfully merging this pull request may close these issues.

2 participants