Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: microsoft/testfx

v4.2.3

14 May 15:35
@Evangelink Evangelink
35d2383
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

See the release notes here

Assets 2
Loading
0xfeeddeadbeef reacted with rocket emoji
1 person reacted

v4.2.2

11 May 15:50
@Evangelink Evangelink
3ee14aa
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

See the release notes here

Loading

v4.2.1

07 Apr 08:53
@Youssef1313 Youssef1313
02621de
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

See the release notes here

Loading
0xfeeddeadbeef, AbdulShaikh, and vberkaltun reacted with hooray emoji
3 people reacted

v4.1.0

04 Feb 09:22
@Youssef1313 Youssef1313
26fb0d3
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

See the release notes here

Loading
0xfeeddeadbeef and llefevre-extron reacted with rocket emoji
2 people reacted

v4.0.2

11 Nov 15:12
@Youssef1313 Youssef1313
88c9fc5
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

See the release notes here

Loading

v3.11.1

11 Nov 15:12
@Youssef1313 Youssef1313
cb5afc3
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

See the release notes here

Loading

v4.0.1

14 Oct 11:49
@Youssef1313 Youssef1313
2eb19d5
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

See the release notes here

Loading
tryb3l and phuongdungdt reacted with hooray emoji 0xfeeddeadbeef, Mertsch, and tryb3l reacted with rocket emoji
4 people reacted

v4.0.0

07 Oct 19:03
@nohwnd nohwnd

Choose a tag to compare

What is new?

Assert.That

MSTest v4 adds a new type of assertion, that allows you to write any expression, and it will inspect the result to give you more information on failure. Providing a very flexible way to assert complicated expressions. Here a simple example:

[TestClass]
public sealed class Test1
{
 [TestMethod]
 public void TestMethod1()
 {
 var animal = "Tiger";
 var zoo = new Zoo();
 Assert.That(() => zoo.GetAnimal() == animal);
 }
}
public class Zoo
{
 public string GetAnimal()
 {
 return "Giraffe";
 }
}
Assert.That(() => zoo.GetAnimal() == animal) failed.
Details:
 animal = "Tiger" 
 zoo.GetAnimal() = "Giraffe"

CallerArgumentExpression

CallerArgumentExpression is consumed by all assertions, to make them aware of the expressions used in the assertion. In the example below, we now know what both the expected and actual values are. But also what value they come from, giving us opportunity to provide better error messages:

[TestClass]
public sealed class Test1
{
 [TestMethod]
 public void TestMethod1()
 {
 string animal = null;
 Assert.AreEqual("Giraffe", animal);
 }
}
Error Message: Assert.AreEqual failed. Expected:<Giraffe>. Actual:<>. 
'expected' expression: '"Giraffe"', 'actual' expression: 'animal'.

Breaking changes

We hidden many types that should have never been public in the first place. We believe that most of the changes won't have any real user impact. For the changes where we expect user impact migration guide from v3 is provided: https://learn.microsoft.com/dotnet/core/testing/unit-testing-mstest-migration-v3-v4

See the MSTest changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog.md#4.0.0
See the Microsoft.Testing.Platform changelog here: https://github.com/microsoft/testfx/blob/main/docs/Changelog-Platform.md#2.0.0

Full changelog here: v3.11.0...v4.0.0

Loading
martincostello, slang25, dotMorten, Mertsch, Romfos, julealgon, and tryb3l reacted with thumbs up emoji gao-artur, 0xfeeddeadbeef, slang25, stan-sz, Mertsch, Romfos, and tryb3l reacted with hooray emoji tryb3l reacted with heart emoji SymbioticKilla reacted with rocket emoji
11 people reacted

v3.11.0

01 Oct 13:38
@Youssef1313 Youssef1313
e64ddb3
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

See the release notes here

Loading
0xfeeddeadbeef reacted with rocket emoji
1 person reacted

v3.10.5

30 Sep 14:32
@Youssef1313 Youssef1313
8c73bdb
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

Choose a tag to compare

See the release notes here

Loading
0xfeeddeadbeef reacted with rocket emoji
1 person reacted
Previous 1 3 4 5 9 10
Previous

AltStyle によって変換されたページ (->オリジナル) /