MSTest has a [ClassCleanup()] attribute, which needs to be static as far as I can tell. I like to run through after my unit tests have run,and clean up my database. This all works great, however when
I\'m making my first steps in Test Driven Development with Visual Studio. I have some questions regarding how to implement generic classes with VS 2010.
I have a .net test class. In the Initialize method, I create a windsor container and make some registrations. In the actual test method, I call a method on the controller class but the interceptor doe
In Visual Studio 2010, I have a number of unit tests. When I run multiple tests at one time using test lists, I sometimes reveive the following error for one or more of the tests:
I am setting up some MSTest based unit tests.To make my life easier I want to use a base class that handles the generic setup and taredown all of my tests require.My base class looks like this:
I am working with Visual Studio 2010 and it\'s integrated testing functionality. I have an XML file in my project which is set to copy to the output directory.I can access the file just fine when I co
I have seen VS2010 exposing Network Emulator API. I have installed it and trying to use this API, but not able detect whether it is really running with this code or not. Sometime I have given wrong pr
ReSharper 4.5\'s test runner will run MSTest tests out of the box, and that\'s what I\'m doing.When a test fails, I click on the test to see 开发者_开发百科the stacktrace and the failure reason.The pa
I have a few repository classes that are meant to talk to different kinds of data, deriving from an IRepository interface.
I have migrated a VS2008 ASP.NET MVC solution to VS2010/MVC2/.NET 4.0The solution builds locally and all unit tests pass.