-
Couldn't load subscription status.
- Fork 0
chore(deps): update mstest monorepo to 3.11.0 #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/mstest-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
e27fe3a to
94f7cf0
Compare
51addff to
b621d69
Compare
b621d69 to
5ba1cfe
Compare
5ba1cfe to
c044da1
Compare
c044da1 to
279e3ea
Compare
279e3ea to
d24367d
Compare
d24367d to
80a7cdc
Compare
80a7cdc to
cdb325e
Compare
cdb325e to
269846e
Compare
269846e to
d808446
Compare
d808446 to
c15a193
Compare
c15a193 to
bc3e458
Compare
bc3e458 to
aab0ed5
Compare
203cd41 to
83c0313
Compare
83c0313 to
2bcd3b5
Compare
2bcd3b5 to
ca89435
Compare
ca89435 to
d588f3e
Compare
d588f3e to
59b8078
Compare
59b8078 to
06b1803
Compare
06b1803 to
cb48b6e
Compare
cb48b6e to
7915b7a
Compare
7915b7a to
120ff8b
Compare
120ff8b to
d4cf783
Compare
d4cf783 to
307bdb5
Compare
307bdb5 to
778a8e1
Compare
778a8e1 to
f70fe34
Compare
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.
This PR contains the following updates:
3.2.2->3.11.03.2.2->3.11.0Release Notes
microsoft/testfx (MSTest.TestAdapter)
v3.11.0See the release notes here
v3.10.5See the release notes here
v3.10.4See the release notes here
v3.10.3See the release notes here
v3.10.2See the release notes here
v3.10.1See the release notes here
v3.10.0See the release notes here
v3.9.3What's Changed
See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.9.3
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#1.7.3
Full Changelog: microsoft/testfx@v3.9.2...v3.9.3
v3.9.2What's Changed
See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.9.2
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#1.7.2
Full Changelog: microsoft/testfx@v3.9.1...v3.9.2
v3.9.1What's Changed
See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.9.1
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#1.7.1
Full Changelog: microsoft/testfx@v3.9.0...v3.9.1
v3.9.0In this release we focused a lot on providing fixes for MSTest and Microsoft.Testing.Platform. The most notable new features and fixes are:
MSTest
Microsoft.Testing.Platform
We've also improved the
dotnet testexperience in dotnet SDK, especially around Retry plugin experience, and started dogfooding the experience in our own repository. Please check out how to enable the newdotnet testexperience for Microsoft.Testing.Platform in net10 by following this link, and help us dogfood it.New Contributors
See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.9.0
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#1.7.0
Full Changelog: microsoft/testfx@v3.8.3...v3.9.0
v3.8.3See the release notes here
v3.8.2See the release notes here
v3.8.1See the release notes here
v3.8.0See the release notes here
Announcements
MSTestAnalysisMode. We encourage you to set this property to at leastRecommended.RetryAttributev3.7.3See the release notes here
v3.7.2See the release notes here
v3.7.1See the release notes here
v3.7.0See the release notes here
Announcements
MSTest.Analyzers is now a transitive dependency of MSTest.TestFramework and thus no longer needs to be manually installed.
Note: The only rules enabled by default as warnings, which could potentially cause build errors when updating MSTest, have been carefully selected and thoroughly validated. These rules specifically address real runtime issues related to the usage of MSTest, ensuring that no purely stylistic or low-impact analyzers are enforced by default.
v3.6.4See the release notes here
v3.6.3See the release notes here
v3.6.2See the release notes here
v3.6.1See the release notes here
v3.6.0See the release notes here
Special shoutout to @SimonCropp for his exceptional contribution in improving the quality of the repository.
v3.5.2See the release notes here
v3.5.1See the release notes here
v3.5.0See the release notes here
v3.4.3See the release notes here
v3.4.2: v.3.4.2See the release notes here
v3.4.1See the release notes here
v3.4.0Here are the highlights of the current release, full change log is available below:
MSTest
New and improved analyzers
We've added more code analyzers to help you prevent mistakes, and to ensure a consistent code style of your tests.
One example of a new analyzer that was added in 3.4.0 is
MSTEST0024: Do not store TestContext in static members. This analyzer hasinfoseverity by default, and will show a message, when you storeTestContextin a static member in your class. This is not recommended, and you should be using aTestContextproperty instead:The other analyzers added in this release:
If you've just learned about MSTest analyzers, please also check out the analyzers that were added in previous releases. They will help you ensure that your test classes and test methods are recognized by MSTest and are not accidentally ignored.
The analyzers are automatically installed with the MSTest NuGet meta-package. But can also be installed separately using the MSTest.Analyzers NuGet package.
More timeout options
Timeout can now be specified on all fixture methods, including ClassCleanup, AssemblyCleanup, TestCleanup and TestInitalize. In this case I want my
[ClassCleanup]to time out after 1 second:Alternatively timeouts can be specified through runsettings. For example like this:
Better errors on data mismatch
When you provide data that don't match your test method signature, the test will fail with an informative message, rather than just "Parameter count mismatch.".
(There is also an analyzer that helps with the same while you are writing the code.)
MSTest SDK updates
We've introduced MSTest project SDK in this .NET Blog post.
Choosing version in global.json
In this release we are promoting a way to define the
MSTest.Sdkversion inglobal.json. This makes it easier to specify the version in a single place, instead of in every project.{ "msbuild-sdks": { "MSTest.Sdk": "3.4.0" } }Playwright support
We've added a property to enable Playwright, to simplify creating web tests:
Aspire testing support
Similarly we've added a property to enable Aspire testing:
Central package management
NuGet central package management can now be used together with
MSTest.Sdk.More examples of SDK projects
To see more examples of projects using MSTest.Sdk:
https://github.com/microsoft/testfx/tree/rel/3.4/samples/public/DemoMSTestSdk
MSTest runner
Simpler banner
We've took inspiration from MSBuild and simplified the runner banner, to show the information, on a single line:
STA support and WinUI support
The runner can be configured to run in STA (Single Thread Apartment) mode, which is required for running UI tests. And it also supports WinUI workloads.
See MSTestRunnerWinUI example
And more
And much more, see the complete change log here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#3.4.0
New Contributors
A special thank you to all our new contributors:
v3.3.1See the release notes here
v3.3.0See the release notes here.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.