Skip to content

Releases: microsoft/testfx

v3.0.0-preview-20221110-04

11 Nov 10:41
10f4cd3
Compare
Choose a tag to compare
Pre-release

See the release notes here.

Breaking changes

See breaking changes announcement

  • Following Microsoft .NET lifecycle
    • Dropped support for .NET Framework 4.5 (moved to 4.6.2)
    • Dropped support for .NET Standard 1.0 (moved to 2.0)
    • Dropped support for UWP before 16299
    • Dropped support for WinUI before 18362
    • Dropped support for .NET 5 (replaced with netcoreapp3.1 and .NET 6)
  • Merge timeout behaviors across all target frameworks
  • Change available constructors for DataRowAttribute
  • Change test ID generation strategy (allow to switch to previous strategies)

v2.3.0-preview-20220810-02

10 Aug 16:08
37880ff
Compare
Choose a tag to compare
Pre-release

See release notes here.

v2.2.10

26 Apr 14:12
23793c5
Compare
Choose a tag to compare

See release notes here.

v2.2.10-preview-20220414-01

14 Apr 13:43
464b117
Compare
Choose a tag to compare
Pre-release

See release notes here.

v2.2.9

08 Apr 15:46
4316d3b
Compare
Choose a tag to compare

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.

v2.2.8

25 Nov 10:35
caae6c0
Compare
Choose a tag to compare

See release notes here.

v2.2.7

03 Sep 17:05
d7b75b7
Compare
Choose a tag to compare

See release notes here.

v2.2.6

25 Aug 19:25
afabf2c
Compare
Choose a tag to compare

See release notes here.

v2.2.5

28 Jun 14:18
9c67fb3
Compare
Choose a tag to compare

See release notes here.

v2.2.4

25 May 21:49
f1caf1b
Compare
Choose a tag to compare

See release notes here.