Associating a TFS test case with a test method

Association creates a linkage between a TFS test case and a test method in Visual Studio. You can link any unit test, coded UI test, or generic test to an TFS test case.

In this example, a coded UI test project (CUIT) is linked to a TFS test case by means of the following steps:

  1. Start Microsoft Visual Studio.

  2. Open your project, created in the previous topic, and then choose a test method.

  3. Check in your test method on the TFS server.

  4. Build/rebuild your project to compile all project files and components that have changed since the most recent build.

  5. Associate the test method with the test case.

Once the association is complete, in the Associated Automation tab of the TFS test case, you see the following:


Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333