XS✔ ◾ Replace separate MSTest packages with unified MSTest meta-package#860
Open
neilr81 wants to merge 4 commits into
Open
XS✔ ◾ Replace separate MSTest packages with unified MSTest meta-package#860neilr81 wants to merge 4 commits into
neilr81 wants to merge 4 commits into
Conversation
Replace MSTest.TestAdapter, MSTest.TestFramework, and Microsoft.NET.Test.Sdk with the single MSTest 4.2.1 meta-package which transitively includes all three. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
PR Metrics✔ Thanks for keeping your pull request small.
Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs! |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s MSTest dependency management by switching from individually referenced MSTest/Test SDK packages to the unified MSTest meta-package, leveraging centrally-managed package versions.
Changes:
- Replaced
Microsoft.NET.Test.Sdk,MSTest.TestAdapter, andMSTest.TestFrameworkreferences in test projects with a singleMSTestpackage reference viatests/Directory.Build.props. - Updated
Testing.Helpersto referenceMSTestinstead ofMSTest.TestFramework. - Consolidated MSTest version pinning in
Directory.Packages.propsto a singleMSTestentry (and removed the separate package version pins).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tests/Directory.Build.props | Switches shared test-project package references to the MSTest meta-package. |
| src/Testing.Helpers/Microsoft.Omex.Extensions.Testing.Helpers.csproj | Updates the testing helper library’s MSTest dependency to the meta-package. |
| Directory.Packages.props | Consolidates MSTest versioning to the meta-package and removes separate pins for framework/adapter/test SDK. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
Replace MSTest.TestAdapter, MSTest.TestFramework, and Microsoft.NET.Test.Sdk with the single MSTest 4.2.3 meta-package which transitively includes all three.