7. Executing Automated Test Cases

In the previous chapter you learned how to automate Test Cases and associate automated tests with Test Case work items. You learned how to do this with both Coded UI tests and Unit Tests, but this is applicable to any automated test. In this chapter you take the next step and execute the automated tests. In this chapter you learn how to execute automated tests in four primary ways: manually through Visual Studio, from the command line, from Microsoft Test Manager, and as part of a Team Build.

In this chapter Unit Tests and Coded UI tests are treated differently for one major reason—to execute a Coded UI test, which interacts with the user interface, the agent that runs the tests must be running as a process ...

Get Software Testing with Visual Studio® 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.