Update dependencies and migrate to MSTest runner#70
Draft
Conversation
- Updated Directory.Build.props with MSTest runner configuration - Migrated StreamRegex.Tests.csproj to new MSTest runner (MSTest 3.7.3) - Added coverage and trx reporting extensions - Updated Nerdbank.GitVersioning (3.6.133 → 3.8.118) - Updated BenchmarkDotNet (0.13.12 → 0.15.4) - Updated Microsoft.Extensions.Logging.Abstractions (8.0.1 → 9.0.10) - Updated test workflow to use --no-build and enable coverage/trx reports Co-authored-by: gfs <98900+gfs@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update dependencies and migrate to MSTest runner
Update dependencies and migrate to MSTest runner
Oct 26, 2025
Owner
|
@copilot tests failed for netcoreapp3.1, support ended in 2022 so remove the netcoreapp3.1 target from csproj but add net9 |
- Removed netcoreapp3.1 (EOL 2022) from test target frameworks - Added net9.0 to test target frameworks - Updated test workflow to use .NET 9.0 instead of 3.1 - All tests pass on net9.0 (26/26 passed) Co-authored-by: gfs <98900+gfs@users.noreply.github.com>
Author
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.
Addresses #69 by migrating from the legacy MSTest adapter to the new native MSTest runner and updating all outdated dependencies.
MSTest Runner Migration
MSTest.TestFramework,MSTest.TestAdapter, andMicrosoft.NET.Test.Sdkwith unifiedMSTestpackage (3.7.3)Microsoft.Testing.Extensions.TrxReport(1.5.3) andMicrosoft.Testing.Extensions.CodeCoverage(17.13.1)EnableMSTestRunner,TestingPlatformDotnetTestSupport, andMSTestAnalysisMode=Recommendedin Directory.Build.propsOutputType=Exein test project to enable native runnerDependency Updates
Target Framework Updates
netcoreapp3.1target (EOL December 2022)net9.0target frameworkWorkflow Changes
Updated test.yml to use
--no-build --configuration Release -- --coverage --report-trxfor proper integration with the new runner and artifact generation.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.