Add StackTraceRegexHelper unit tests - #10655
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Pull request overview
Adds focused unit coverage for stack-frame regex parsing and configuration.
Changes:
- Tests localized, located, and locationless stack frames.
- Covers invalid frames, regex options, caching, and timeout constants.
Show a summary per file
| File | Description |
|---|---|
StackTraceRegexHelperTests.cs |
Adds regex and StackTraceHelper unit tests. |
Review details
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Balanced
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🤖 Automated content by GitHub Copilot. Generated by the Test Reviewer on PR (on open / sync) workflow. · auto · 89.9 AIC · ⌖ 3.97 AIC · ⊞ 16.9K · ◷
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🧪 Expert test review — PR #10655
All 7 newly added/modified tests reviewed cleanly. Two prior high-confidence findings from this run's earlier passes — (1) the MSBuild timeout assertion not exercising the actual cached regex, and (2) This advisory comment was generated automatically. Grades are heuristic
|
🧵 Parallel-safety audit — PR #10655Parallelization — one row per test assembly audited:
Both assemblies opt into Findings: A (global-state) This PR's changed test surface is:
No changed lifecycle members ( Verdict: clean audit — nothing unsafe under Advisory only — heuristic, non-blocking. Re-run with
|
Summary
Validation
Microsoft.Testing.Platform.UnitTestsandMicrosoft.Testing.Platform.MSBuild.UnitTestsnet8.0; 2,215 passed onnet9.0; 2,164 passed onnet462net8.0; 35 passed onnet9.0Closes #10653