nunit
Resharper 6 simply ignores all my tests
I have a solution with a lot of nunit tests in different projects. When I run resharpers testrunner, it finds all the tests. But when it 开发者_如何转开发comes to execution it simply marks them all as[详细]
2023-04-05 00:17 分类:问答Actual and expected values in NUnit test for format decimal extension not the same
I wrote the following extension method: public static class DecimalExtensions { public static string FormatCurrency(this d开发者_StackOverflowecimal instance)[详细]
2023-04-04 16:15 分类:问答Moq & nUnit to test EntityFramework MVC3 C#
Can anybody provide a good starting point or example of using Moq and nUnit to perform tests against the entity framework ins开发者_开发技巧ide MVC. I have a DomainModel which contains \"MyModel.edmx\[详细]
2023-04-04 00:26 分类:问答Testing Classes - When to refactor?
I\'m writing a series of automatic tests in C# using NUnit and Selenium. Edit: I am testing an entire website, to begin I wrote three classes for the three types of members that use the website, the[详细]
2023-04-03 21:35 分类:问答run nunit tests with TestCase Attribute from nant
i was using this nant task for my nunit tests. <nunit2 failonerror=\"false\"> <formatter usefile=\"true\"[详细]
2023-04-03 19:59 分类:问答NUnit test fails because of System.AccessViolationException
I have a series of NUnit tests and some are failing, yet I can\'t seem to find a reason, and the exception is telling me nothing. This is my case:[详细]
2023-04-03 19:43 分类:问答Use VirtualPathUtility.ToAbsolute in unit test?
I get the following exception when I use VirtualPathUtility.ToAbsolute(virtualUrl) in a unit test : System.Web.HttpException : The application relative virtual p开发者_StackOverflow社区ath \'~/page/my[详细]
2023-04-03 19:28 分类:问答URL helper method test failing when returning string
I am using ASP.NET MVC 3 and NUnit. I created a helper method to to return an action method as such (overloaded method):[详细]
2023-04-03 18:26 分类:问答watin nunit UnauthorizedAccessException : Access is denied
I\'ve started having trouble running Watin tests via Nunit.Last week this was working but this week it\'s not.I\'m not aware that I\'ve changed anything but I\'ve started getting UnauthorizedAccessExc[详细]
2023-04-03 06:46 分类:问答Windows Phone 7.1, Silverlight NUnit Project -template and Moq: TypeLoadException
it\'s time to do some unit testing with MVVM Light ViewModels. Setup: Visual Studio 2010 SP 1 Windows Phone 7.1 SDK Release Candidate[详细]
2023-04-02 11:24 分类:问答