We are trying to use Fitnesse for our Functional test. Should i be mocking dependencies or should it be testing against the database?
I\'m trying to write some code to help unit test WCF services. These services are accessed through a facade class that creates the proxy instance, then calls the proxy method and returns the result; f
We\'ve been trying write unit tests for a worker class written in C#, which mocks out a third party API (COM based) using moq to dynamically create the mock objects. NUnit is our unit testing framewor
I am trying to test the following code 开发者_如何学运维public void CleanUp() { List<ITask> tasks = _cleanupTaskFactory.GetTasks();
We are writing a client for a remote service that exposes SOAP web services and publishes a WSDL definition for those services.
I am trying the following, but I am getting : Object reference not set to an instance of an object. HttpContextBase mockContext = MockRepository.GenerateMock<HttpContextBase>();
If you have a method that needs to be tested that takes a list of SearchResults public virtual void ProcessResults(IList<SearchResult> list)
Using RhinoMocks - how can I say \"whenever some function is called from now on - it should return some value\".
I have a method that I want to test which hits the database.From what I have read this is a perfect oppurtunity to use a mock.However the problem that I am facing is that I pass the object a string an
Using RhinoMocks - can I fetch the parameters of a called function? I mean; can I get some of the unknown parameters from the function call out?