Add MSTEST0070 member name edge-case tests - #10031
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fb77a624-ff12-4dda-849c-882199b9830e
Contributor
There was a problem hiding this comment.
Pull request overview
Adds MSTEST0070 regression coverage for member names ignored by the analyzer because runtime validation handles them.
Changes:
- Tests empty and whitespace-only member names.
- Tests an empty name within the additional params array.
- Verifies all cases produce no analyzer diagnostic.
Show a summary per file
| File | Description |
|---|---|
test/UnitTests/MSTest.Analyzers.UnitTests/MemberConditionShouldBeValidAnalyzerTests.cs |
Adds three edge-case analyzer tests. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Medium
This comment has been minimized.
This comment has been minimized.
Evangelink
enabled auto-merge (squash)
July 17, 2026 08:41
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fb77a624-ff12-4dda-849c-882199b9830e
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fb77a624-ff12-4dda-849c-882199b9830e
Contributor
Test quality grade - PR #10031
This advisory comment was generated automatically. Grades are heuristic and informational - they do not block merging. Re-run with Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
0101
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MemberConditionShouldBeValidAnalyzernet462cancellation test exposed by CI by replacing its timer race with explicit cancellationValidation
MemberConditionShouldBeValidAnalyzerTestspassCancellationAsyncWithReturnValue_ObserveException_Succeedspasses onnet462net462runsFixes #10026