TNG / ArchUnitNET

A C# architecture test library to specify and assert architecture rules in C# for automated testing.
Apache License 2.0
927 stars 61 forks source link

chore(deps): update mstest monorepo to 2.2.10 - autoclosed #294

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
MSTest.TestAdapter 2.2.3 -> 2.2.10 age adoption passing confidence
MSTest.TestFramework 2.2.3 -> 2.2.10 age adoption passing confidence

Release Notes

microsoft/testfx (MSTest.TestAdapter) ### [`v2.2.10`](https://redirect.github.com/microsoft/testfx/releases/tag/v2.2.10) See release notes [here](https://redirect.github.com/microsoft/testfx/blob/main/docs/Changelog.md#2210---2022-04-26). ### [`v2.2.9`](https://redirect.github.com/microsoft/testfx/releases/tag/v2.2.9) ##### Parallel output > πŸ™‡ Shout out to [@​SimonCropp](https://redirect.github.com/SimonCropp), for bringing this functionality to XUnit in his https://github.com/SimonCropp/XunitContext project. And being an inspiration for implementing this. MSTest 2.2.9 captures all Console output and attaches it to the correct test, even if you are running tests in parallel. This output is captured from your test code as well as from the tested code. And it requires no special setup. ##### Before In 2.2.8, test output is scattered among tests, in our example, one unlucky test gets all the output of other tests just mixed together: ![image](https://user-images.githubusercontent.com/5735905/162252520-0572d932-c798-4b7e-8961-44f39b5a32b9.png) ##### After With 2.2.9, each output is correctly attached to the test that produced it: ![image](https://user-images.githubusercontent.com/5735905/162252738-2dae4ff3-d7bf-473a-9304-66cf25510a89.png) ![image](https://user-images.githubusercontent.com/5735905/162252762-4304b9c0-1e60-4089-83e3-e8f341cb9329.png) Also notice that we are also capturing debug, trace and error. And we are not awaiting the FastChild method, and the output is still assigned correctly. [Souce code.](https://gist.github.com/nohwnd/2936753d94301d7991059660d1d63a8a) ##### Limitations Due to the way that class and assembly initialize, and cleanup are invoked, their output will end up in the first test that run (or last for cleanup). This is unfortunately not easily fixable. See release notes [here](https://redirect.github.com/microsoft/testfx/blob/main/docs/Changelog.md#229-2022-04-08). ### [`v2.2.8`](https://redirect.github.com/microsoft/testfx/releases/tag/v2.2.8) See release notes [here](https://redirect.github.com/microsoft/testfx/blob/main/docs/Changelog.md#228---2021-11-23). ### [`v2.2.7`](https://redirect.github.com/microsoft/testfx/releases/tag/v2.2.7) See release notes [here](https://redirect.github.com/microsoft/testfx/blob/main/docs/Changelog.md#227---2021-09-03). ### [`v2.2.6`](https://redirect.github.com/microsoft/testfx/releases/tag/v2.2.6) See release notes [here](https://redirect.github.com/microsoft/testfx/blob/main/docs/Changelog.md#226---2021-08-25). ### [`v2.2.5`](https://redirect.github.com/microsoft/testfx/releases/tag/v2.2.5) See release notes [here](https://redirect.github.com/microsoft/testfx/blob/main/docs/Changelog.md#225---2021-06-28). ### [`v2.2.4`](https://redirect.github.com/microsoft/testfx/releases/tag/v2.2.4) See release notes [here](https://redirect.github.com/microsoft/testfx/blob/main/docs/Changelog.md#224---2021-05-25).

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.

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.41%. Comparing base (1bfa1e6) to head (6bc083c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #294 +/- ## ======================================= Coverage 65.41% 65.41% ======================================= Files 254 254 Lines 22853 22853 Branches 1938 1938 ======================================= Hits 14949 14949 Misses 7360 7360 Partials 544 544 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.