Microsoft .NET Unit Testing Framework (MSTest)
How do I use Assert (or other Test class?) to verify that an exception has been thrown?
c# unit-testing mstest assert vs-unit-testing-frameworkI am trying to run my tests on TeamCity which is currently installed on my machine. System.InvalidOperationException: The Entity …
c# entity-framework mstest teamcity-7.1 entity-framework-6NUnit has a feature called Values, like below: [Test] public void MyTest( [Values(1,2,3)] int x, [Values("A","B")] string s) { // ... } …
c# unit-testing nunit mstest vs-unit-testing-frameworkAny call in my unit tests to either Debug.Write(line) or Console.Write(Line) simply gets skipped over while …
c# visual-studio unit-testing debugging mstestThere are quite a lot of unittesting frameworks out there for .NET. I found this little feature comparison: http://xunit.…
unit-testing nunit mstest mbunit xunit.netI have some unit tests that expects the 'current time' to be different than DateTime.Now and I don't want …
c# unit-testing datetime mstest systemtimeHow can this test fail? [TestMethod] public void Get_Code() { var expected = new List<int>(); expected.AddRange(new [] { 100, 400, 200, 900, 2300, 1900 }); …
c# visual-studio-2010 unit-testing mstestWhen I use MSTest Framework, and copy the code that Selenium IDE generated for me, MSTest doesn't recognize [TearDown] and […
c# selenium automated-tests mstestI'm currently maintaining an "old" system written in C#.net, removing some obsolete features and doing some refactoring. Thanks god, …
c# visual-studio unit-testing mstest deploymentitem