testfx icon indicating copy to clipboard operation
testfx copied to clipboard

MSTest framework and adapter

Results 258 testfx issues
Sort by recently updated
recently updated
newest added

## Description Upgrading MSTest.TestAdapter from version 2.2.3 to 2.2.5 causes this error. To test a extension method I am providing some dynamic data as `IEnumerable` which now provides an exception....

bug
sprint
triaged

## Description The test result from a test adorned by a DataSourceAttribute today has a display name as follows: ``` TestMethodName (DataRow0) TestMethodName (DataRow1) . . . TestMethodName (DataRown) ```...

help-wanted
sprint
triaged

(background: migrating a project to use MSTest.TestFramework rather than NUnit) Output from MSTest.TestFramework: ``` Assert.AreEqual failed. Expected:. Actual:. ``` Output from NUnit: ``` Expected string length 11 but was 13....

This works fine with MSTest.TestAdapter and MSTest.TestFramework 2.2.3, but the test is skipped with 2.2.4 or 2.2.5. ``` module x.TestProject1 open System open Microsoft.VisualStudio.TestTools.UnitTesting [] type ``babette la morue`` ()...

bug
area-core

## Steps to reproduce ```c# [TestClass] public class TestCleanup { [TestInitialize()] public void MyTestInitialize() { Console.WriteLine("Calling initialize"); } // Use TestCleanup to run code after each test has run [TestCleanup()]...

Type: Bug
State: In-PR

Consider following code: ``` [TestInitialize] public async Task InitAsync() { await ThrowAsync(); } private static Task ThrowAsync() { return Task.FromException(new Exception("Outer", new Exception("Inner"))); } ``` This code swallows outer exception...

## Description Attempting to run tests for a UWP unit test project with Minimum Version set to RS2 (15063) or earlier fails with an error about not being able to...

needs-triage

## Description Currently, the argument matching between the constants specified in the `DataRow` attribute and the corresponding method parameters appears to be done using basic reflection plus direct argument passing...

enhancement
help-wanted

Today we have the amazing extensibility where we can control the test method invocation and wrap the invocation call within our custom code. But unfortunately we can do it **only**...

## Description There are times when we want to capture multiple assertions at the same time. For example, checking a set of properties for equality. Assert.AreEqual(key, echo.EmployeeClassificationKey); Assert.AreEqual(row.EmployeeClassificationName, echo.EmployeeClassificationName); Assert.AreEqual(row.IsEmployee,...

needs-triage