I have got a factory method that create new instances of a certain interface. I am using StructureMap to create 开发者_高级运维new instances of the interface.
I\'m writing an application where the user can change (at runtime) the directory where the log4net log is stored. The directory string is stored in the app.config.
I have been looking into refactoring some old code into a new WCF service, based on net 4.0 and have into a little difficulty with what should be a simple exercise!
Background I have recently tried to develop a suite of tests for regression testing of a particular application. I have been using NUnit and have had no problems.
I have the following var objSet = new DynamicMock(typeof(IObjectSet<Nationality>)); objSet.ExpectAndReturn(\"GetAll\", new List<Nationality>
I have an MVC 3.0 app.My testing framework is nUnit 2.4.8.0.I started this code on a 32 bit machine, and recently started using a 64 bit machine.I just as recently upgraded the project to .NET 4.0.
I have create a generic abstract base class to do some common tests. The test are showing up, but they are ignored. Why?
This question already has an answer here: Unit Testing and Mocking using RhinoMocks (1 answer) Closed 8 years ago.
In a particular SOA-styled application I\'m working on we have a large number of unit tests in each service. The tests for each service run serially, and I want to test running the tests for each serv
In a (web) application I\'ve implemented the MVP pattern for seperation of core concerns. My presenters directly query the database using LINQ-to-NHibernate, or sometimes they use query objects when t