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

## Summary Add MSTest analyzer for the correct placement of DeploymentItem ## Background and Motivation [ Can be specified on test class or test method. ## Proposed Feature Enforce the...

Needs: Triage :mag:

Previously I used `dotnet test /p:CollectCoverage=true` with `coverlet.msbuild` to produce an coverage output on the command line like that: ```sh +--------+------+--------+--------+ | Module | Line | Branch | Method |...

Type: Feature
Area: Testing Platform Extensions

When 0 items are produced and the code does not throw, we throw just to catch the exception. This could be made more efficient by extracting the catch and using...

Area: Performance

DeploymentUtility in PlatformServices uses reflection to access attributes, but it does not use reflection helper because it does not have access to it. see if we can move the cached...

Type: Chore

related to https://github.com/microsoft/testfx/issues/2991

## Describe the bug MSTest AssemblyCleanup executes immediately after the first test point in multi-test-point test run via Azure Devops Release pipeline VsTest Task. The bug only occurs when all...

Needs: Triage :mag:

## Summary I'm curious to know if there's any built-in mechanism to retry tests. Case in point, I have a unit test code something like this: ``` [TestMethod] public async...

Type: Feature

3.4.0 and 3.4.1 are both not working while 3.3.1 was fine for this scenario: - .NET8 ProjectX - .NET8 test ProjectY which uses [Microsoft Fakes](https://learn.microsoft.com/en-us/visualstudio/test/isolating-code-under-test-with-microsoft-fakes?view=vs-2022) for project X - Build...

Type: Bug
Area: Fakes

## Describe the bug After upgrading MSTest (V2) from version *3.1.1* to version *3.4.3*, the following diagnostic is reported for one of our solutions: `error CS8892: Method 'TestingPlatformEntryPoint.Main(string[])' will not...

Type: Docs

Hi, we just discovered when trying to upgrade to version 3.4.3 that this problem is actually not fixed. We have a test method with following Data rows, and the build...

Type: Bug
Area: Data Driven
Type: Regression