Top "Mstest" questions

Microsoft .NET Unit Testing Framework (MSTest)

Using MS Test ClassInitialize() and TestInitialize() in VS2010 as opposed to NUnit

I've used NUnit with VS2008, and now am adapting to MSTest on VS2010. I used to be able to create …

nunit mstest
Visual Studio 2012 MSTest vs NUnit pros and cons

We have to decide which technology to use for our unit testing. Currently we use Visual Studio 2010 and not happy …

visual-studio-2012 nunit mstest
Visual Studio 15.8.1 not running MS unit tests

When I updated Visual Studio to the latest version, 1 of my test projects stopped running tests and outputted this message: …

c# visual-studio mstest
BadImageFormatException when AnyCPU test assembly implements interface from x64 production assembly

I seem to have hit on a scenario where when I run mstest on an AnyCPU assembly which references an …

c# visual-studio-2010 mstest 64-bit
Running unit tests on Team Foundation Server (TFS) builds

What are the steps to get Team Foundation Server running unit tests when a given build runs? What are the …

unit-testing tfs installation mstest
MsTest - executing method before each test in an assembly

Is it possible to run specific method before each test in an assembly? I know about TestInitialize attribute but this …

.net mstest
Chromedriver is extremely slow on a specific machine using Selenium Grid and .net

Overview: Chromedriver works normally on one machine but extremely slowly on two other identical machines. Setup: Selenium Webdriver using .Net …

webdriver mstest selenium-webdriver selenium-grid selenium-chromedriver
How do you run SpecFlow scenarios from the command line using MSTest?

I've got Visual Studio 2010, and we have two VS solutions we work with. The first is the web application, and …

c# mstest bdd specflow
Resharper 7: MSTest not working - "Test wasn't run"

Since I upgraded to VS2012 and Resharper 7, my previously working MS Tests are not running anymore. The tests are run …

visual-studio resharper mstest visual-studio-2012 resharper-7.0
CodedUI tests - start a browser once for the entire set of tests

I'm writing some codedUI tests in VS2010 to test a web application. I'd like to be able to open the …

c# unit-testing exception-handling mstest coded-ui-tests