Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Testing won't show status for test cases with same name in different steps #656

Closed
KyleJune opened this issue Apr 16, 2022 · 0 comments · Fixed by denoland/deno#20297
Closed
Assignees
Labels
bug Something isn't working dx testing Running test using LSP

Comments

@KyleJune
Copy link

Describe the bug

Tests with a name that matches another test case nested in another test step currently just show a grey circle making it unclear what the status of the test case is.

To Reproduce

  1. Open https://deno.land/std@0.135.0/testing/bdd_test.ts and run tests

Expected behavior

The tests should all show green check marks.

Screenshots

image

Versions

vscode: 1.66.2 deno: 1.20.6 extension: v3.12.0

@lucacasonato lucacasonato added the bug Something isn't working label Apr 16, 2022
@bartlomieju bartlomieju added testing Running test using LSP dx labels Jul 10, 2023
bartlomieju pushed a commit to denoland/deno that referenced this issue Aug 27, 2023
)

Fixes denoland/vscode_deno#656.

Test steps were ID'd by a checksum of `[origin, level, step_name]` which
is incorrect. Now it's `[origin, ...ancestor_names, step_name]`.
bartlomieju pushed a commit to denoland/deno that referenced this issue Aug 31, 2023
)

Fixes denoland/vscode_deno#656.

Test steps were ID'd by a checksum of `[origin, level, step_name]` which
is incorrect. Now it's `[origin, ...ancestor_names, step_name]`.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working dx testing Running test using LSP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants