Conversation
There was a problem hiding this comment.
Pull Request Overview
Adds first-class support for MSTest v4 while keeping MSTest v3 compatibility.
- Splits the MSTest adapter into distinct MSTest3 and MSTest4 adapters with assembly-based detection.
- Introduces dedicated test projects/namespaces for MSTest3 and MSTest4 and updates central package versions to MSTest v4.
- Updates solution and generator debug profile to include the new MSTest4 tests.
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| aweXpect.sln | Renames the MSTest test project to MSTest3, adds a new MSTest4 test project, and wires solution configs. |
| Tests/Frameworks/aweXpect.Frameworks.MsTest4.Tests/MsTest4FrameworkTests.cs | Adds tests validating aweXpect’s fail/skip/inconclusive mapping against MSTest v4 exceptions. |
| Tests/Frameworks/aweXpect.Frameworks.MsTest3.Tests/aweXpect.Frameworks.MsTest3.Tests.csproj | Pins MSTest packages to v3 via VersionOverride ranges to avoid pulling v4. |
| Tests/Frameworks/aweXpect.Frameworks.MsTest3.Tests/MsTest3FrameworkTests.cs | Adjusts namespace to MsTest3 to match the new project identity. |
| Source/aweXpect.Frameworks/Properties/launchSettings.json | Points generator debug profile to the new MSTest4 test project. |
| Source/aweXpect.Frameworks/FrameworkGenerator.cs | Adds separate MsTest3/MsTest4 adapters and updates assembly detection to generate the right adapter(s). |
| Directory.Packages.props | Bumps central MSTest packages to v4.0.1 to enable v4 usage by default. |
2fb91e5 to
2a0462c
Compare
2a0462c to
a8a5c9f
Compare
|
Test Results 14 files - 24 14 suites - 24 4m 5s ⏱️ +14s Results for commit a8a5c9f. ± Comparison against base commit 8d0e2bc. This pull request removes 1582 and adds 1560 tests. Note that renamed tests count towards both. |
🚀 Benchmark ResultsDetails
|
👽 Mutation ResultsaweXpectDetails
The final mutation score is NaN%Coverage Thresholds: high:80 low:60 break:0aweXpect.CoreDetails
The final mutation score is NaN%Coverage Thresholds: high:80 low:60 break:0 |
|
This is addressed in release v2.27.0. |



Adds first-class support for MSTest v4 while keeping MSTest v3 compatibility.
Key changes: