I am using Automapper in my application and I am testing the maps with fake objects, so I have slightly different maps in my tests than in my production code, what is the best way to c开发者_Go百科rea
I have a test like this: [TestCase("~/page/myaction")] public void Page_With_Custom_Action(string path) {
I\'ve noticed a huge amount of disk space b开发者_如何转开发eing used recently and finally did some investigating.I found out that I have over 200 GB in the following directory:
I\'m running some NHibernate tests with NUnit and the NUnit test agent is crashing. I know there\'s not much to go on but obviously NUnit itself should not crash.
Is there anyway one can output to the console 开发者_开发问答the message of an exception that may be throw during an NUnit test? Currently I use the ExpectedExceptionAttribute but that doesn\'t output
I have a bunch of NUNIT tests in several TestFixtures.Currently, I just display all the tests for everyone.Is there a way to hide some tests and/or test fixtures.I have various \"customers\" and they
I have an interface against which I run a linq to sql query: public interface IMyDataContext : IDisposable
I was wondering how you could mock that a controller is decorated with the [Authorize] attribute in MVC3? I am using a custom membership provider. I would like to test that a controller been decorated
I am trying to launc开发者_C百科h the nunit gui app from an asp.net mvc web page (don\'t judge!) Here is the controller code:
I\'m looking for a way to write a unit test using NUnit so that if current test takes more than X miliseconds to complete it should terminate and report it as skipped / success, but not failed. This w