Skip to content

chore(deps): update mstest monorepo to v2.2.10#42

Merged
Timothy-Liuxf merged 1 commit intodevfrom
renovate/mstest-monorepo
Oct 24, 2022
Merged

chore(deps): update mstest monorepo to v2.2.10#42
Timothy-Liuxf merged 1 commit intodevfrom
renovate/mstest-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Oct 21, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
MSTest.TestAdapter nuget patch 2.2.8 -> 2.2.10
MSTest.TestFramework nuget patch 2.2.8 -> 2.2.10

Release Notes

microsoft/testfx

v2.2.10

See release notes here.

v2.2.9

Parallel output

🙇 Shout out to @​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

After

With 2.2.9, each output is correctly attached to the test that produced it:

image
image

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.

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.


Configuration

📅 Schedule: Branch creation - "after 4am and before 8am on saturday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate Bot force-pushed the renovate/mstest-monorepo branch 2 times, most recently from 11a2063 to 9c2e699 Compare October 24, 2022 19:07
@renovate renovate Bot force-pushed the renovate/mstest-monorepo branch from 9c2e699 to 728d839 Compare October 24, 2022 19:08
@Timothy-Liuxf Timothy-Liuxf merged commit 41e8b83 into dev Oct 24, 2022
@renovate renovate Bot deleted the renovate/mstest-monorepo branch October 24, 2022 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant