简体   繁体   中英

How to run automated test cases in TFS 2015 web?

I have test cases in TFS 2015. How to run automated tests using TFS 2015 web (similar to Microsoft Test Manager)? Basically I would like to know how to achieve automated testing in TFS 2015 web platform without using MTM?

The web Test page does not support to run automatic tests associated with test cases. You can achieve the same goals using the Build & Release features in Team Foundation Server (TFS). ( https://www.visualstudio.com/en-us/docs/test/lab-management/use-build-or-rm-instead-of-lab-management )

Use the Visual Studio Test Agent Deploy and Run Functional tests steps in your build definition to run auto tests on build agents.

  1. Associated test methods with test cases in Visual Studio.
  2. Create a build definition to build your project and add the 2 steps I mentioned above. In the Run Functional Test step, select the test suits which contains those test cases in step1. 在此处输入图片说明

You don't. You either integrate testing into a continuous integration/continuous delivery pipeline with the "Run Functional Tests" task (which, frankly, is where it belongs), or you continue to use MTM.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM