visual-studioazure-devopsnunittest-explorertest-plan

How to identify unasscoiated NUnit tests from Azure Test Plans test cases?


Is there a way to identify which NUnit tests are not associated with a test case from within Test Explorer in Visual Studio?

I want to identify new tests that have been added by the team and ensure they have a test case reference in Azure Test Plans

Update: Is there some kind of filter or non-obvious method for filtering tests that are not associated with test cases.


Solution

  • In Visual Studio, to check whether a test method has associated to a Test Case in Azure Test Plans, you can do like as below:

    1. Open you test project in Visual Studio.

    2. On Test Explorer, right lick on the test method you want to view, then select "Associate to Test Case" option.

      enter image description here

    3. On the pop-up window, under "Existing Associations" section, you can see all the Test Cases which have been associated with current test method.

      enter image description here