Top "Mstest" questions

Microsoft .NET Unit Testing Framework (MSTest)

Classes marked with TestInitialize and TestCleanup not executing

I have been struggling with this one, hopefully it will help someone else. Whilst creating unit tests using MsTest I …

c# mstest vs-unit-testing-framework
Is there any .runsettings documentation?

I'm looking for documentation for .runsettings files as used with vstest. Is there an xsd? I can't seem to find …

visual-studio unit-testing continuous-integration mstest
MSTest Equivalent for NUnit's Parameterized Tests?

NUnit supports a feature where you can specify a set of data inputs for a unit test to be run …

c# unit-testing nunit mstest parameterized-unit-test
MSTest and app.config issue

I am stuck trying to automate unit tests runs with MSTest and deployment of app.config. I read multiple posts …

c# msbuild app-config mstest
Partial binding information was supplied for an assembly mstest

I am using the new SimpleMembership framework in .Net. The unit tests to create users (using the API - see …

visual-studio-2012 mstest simplemembership
Global test initialize method for MSTest

Quick question, how do I create a method that is run only once before all tests in the solution are …

c# mstest
NUnit vs Visual Studio 2010's MSTest?

I realise that there are many older questions addressing the general question of NUnit v MSTest for versions of Visual …

visual-studio-2010 visual-studio nunit mstest cruisecontrol.net
Explicitly call static constructor

I want to write unit test for below class. If name is other than "MyEntity" then mgr should be blank. …

c# mstest system.reflection static-constructor
How to set test category for all tests in the class

I am using MSTest, and I want to set the same test category for all methods in test class at …

c# unit-testing tfs mstest
How to set up LocalDb for unit tests in Visual Studio 2012 and Entity Framework 5

We have a Visual Studio 2012 ASP.NET MVC project using Entity Framework 5. There are some unit tests that depend on …

unit-testing mstest visual-studio-2012 entity-framework-5 localdb