O'Reilly logo

Software Testing using Visual Studio 2010 by S. Subashni, N. Satheesh Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running a test from the command line

Let us see some of the options for MSTest and see the results produced by these options. It is applicable only for the automated tests. Even if we apply the command for the manual test, the tool will remove the non-automated test from the test run.

/testcontainer

The testcontainer option needs the file that contains the information about the tests that must be run. The test container file differs across tests. For example, the unit test information is contained in the Unit Test project assembly file. For the Ordered Test, it would be the<ordertestproject>.orderedtest file, which contains information about the ordered test.

If we have multiple test projects created under the solution, each of these projects has ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required