This is my first encounter with unit testing and I am trying to understand how can this concept be used on开发者_StackOverflow中文版 a simple date validation.
I have the following base object in my Tests [TestClass] public abstract class TestClassBase { private TransactionScope _transactionScope;
I have a Class Library project in Visual Studio 2010 that I want to test. I have created a seperate Test project in the same solution to test it. The Test project references the Class Library project.
Could you please guide me how to run MSTest unit tests using 开发者_高级运维an MSBuild script.you should use default configuration for running any assemblies including your unit test and this assembly
I\'m using VS Unit Testing Framework and Moq. When a Moq verification fails, I\'ll get a Moq.MockException. In the Test Result开发者_开发问答s window, instead of showing the helpful message inside th
In my research about rolling back transactions in EF4, it seems everybody refers to this blog post or offers a similar explanation. In my scenario, I\'m wanting to do this in a unit testing scenario w
I\'m using Visual Studio 2010 Beta 2. I\'ve got a single [TestClass], which has a [TestInitialize], [TestCleanup] and a few [TestMethods].