Top "Mstest" questions

Microsoft .NET Unit Testing Framework (MSTest)

MSTest DeploymentItem doesn't copy files to output dir

nice day! I have following project structure: Solution -My.Project -My.Project.Test --Resources ---mytest.file In my test file …

mstest deploymentitem
How to Unit Test JsonResult and Collections in MSTest

I am very new to unit testing even though i have been coding for a very long time. I want …

asp.net-mvc unit-testing mstest
Getting PartCover to work

I want to try PartCover for code coverage. I'm running Visual Studio 2008 Professional with MSTest. The Professional Edition does not …

unit-testing mstest code-coverage partcover
Task Scheduler not executing batch (bat) file with MSTest commands

I have several batch files which set a log file path and start visual studio 2010 ordertests. When I execute a …

batch-file scheduled-tasks mstest scheduler ordered-test
MSTest: how to increase test time

I have one test that needs to work more then 1 minute (VS2008, MSTest, tests are launched from the VisualStudio): const …

unit-testing tdd timeout mstest .net-3.5
How can I reset an EF7 InMemory provider between unit tests?

I am trying to use the EF7 InMemory provider for unit tests but the persistent nature of the InMemory database …

unit-testing mstest entity-framework-core
MSTest: CollectionAssert.AreEquivalent failed. The expected collection contains 1 occurrence(s) of

Question: Can anyone tell me why my unit test is failing with this error message? CollectionAssert.AreEquivalent failed. The expected …

c# .net unit-testing mstest
How To Read UnitTest Project's App.Config From Test With HostType("Moles")

I have the folowing tests: [TestClass] public class GeneralTest { [TestMethod] public void VerifyAppDomainHasConfigurationSettings() { string value = ConfigurationManager.AppSettings["TestValue"]; Assert.IsFalse(…

c# unit-testing mstest moles
MSTest cannot find the assembly

I was using MSTest and i use command mstest /testsettings:local.Testsetting /testcontainer:folder\obj\Debug\test.dll and this …

c# unit-testing mstest vs-unit-testing-framework
how do you mock an xml for unit testing?

I need to unit testing this GetData method. public MessageResponse GetData(XmlElement requestElement) { MessageResponse MsgResponse = new MessageResponse(); if (requestElement.Attributes["…

unit-testing moq mstest moq-3