Top "Mstest" questions

Microsoft .NET Unit Testing Framework (MSTest)

How do I use MSTest without Visual Studio?

Does MSTest have standalone GUI similar to nUnit that lets me use it and run test without visual studio? What …

visual-studio-2010 visual-studio unit-testing mstest
DataTestMethod and DataRow attributes in MSTEST

I have seen in a Microsoft video about Visual Studio update 2 regarding these attributes. However, I can't find any other …

c# unit-testing mstest
Where is mstest.exe located?

I need to run mstest from the command line - where in the world is this exe located? Can anyone …

.net testing mstest file-location
Microsoft unit testing. Is it possible to skip test from test method body?

So I have situation when I need skip current test from test method body. Simplest way is to write something …

c# unit-testing mstest
Does MSTest have an equivalent to NUnit's TestCase?

I find the TestCase feature in NUnit quite useful as a quick way to specify test parameters without needing a …

c# nunit mstest testcase rowtest
Visual Studio Unit Testing: SetUp and TearDown

Instead of [SetUp] and [TearDown] in Nunit what is the alternative in Visual Studio Ultimate 2010 Unit Testing. In Nunit you …

visual-studio-2010 unit-testing mstest
How can I use PrivateObject to access private members of both my class and its parent?

I'm testing a class that is part of a hierarchy. I've been setting up my test classes with the object …

c# unit-testing mstest
Is it possible to execute code once before all tests run?

Basically I would like to tell MSTest to execute a bit of code before launching into a series of test …

.net mstest
MSTest copy file to test run folder

I've got a test which requires an XML file to be read in and then parsed. How can I have …

visual-studio mstest
TestInitialize vs ClassInitialize

What is the difference between TestInitialize vs ClassInitialize in MSTest? What are the pros cons of each? I'm under the …

c# mstest vs-unit-testing-framework