I wrote program in C# that invokes MSTest from command line. One of test cases throws StackOverflowException and it causes, that QtAgent32 (and my application) process breaks.
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 have some tests that rely on some files I have marked as \"Content\" and to \"Always Copy\". I\'m using the DeploymentItem attrib开发者_运维技巧ute to make sure they get copied to the output directo
I have the folowing tests: [TestClass] public class GeneralTest { [TestMethod] public void VerifyAppDomainHasConfigurationSettings()
I have not been able to debug or step through unit test. Here is my sample test code... using System; using System.Text;
I usually use NUnit as a UnitTest Framework ,however where I work now they use solely MSTest . In Nunit I could use the following:
Does anyone know if its possible to have TFS2010 Build Server 开发者_开发百科run ONLY tests rather than entire project.
I am using MS Test to test one of my controller\'s actions. This method uses the ConfigurationManger to read appSettigns from the web.config. For some reason ConfigurationMangager is not able to find
I am trying to log some information while the unit test is running in MS Unit Testing Framework VS 2010.
I have extended objects of type IDataReader with some extension methods that I needed. The problem is now when I try to mock the IDataReader, the extended method is not included in the mock so when th