justmock Questions
1
Solved
I am creating some unit tests for my ASP .NET MVC Controller class and I ran into some very strange errors:
My controller code is below:
[HttpPost]
[ValidateAntiForgeryToken]
public ActionResult ...
Bucentaur asked 5/10, 2016 at 1:52
1
Solved
I have been using JustMock for unit testing in C#.
The problem I am facing is I cannot assert the functions called inside Parallel.Foreach. However the assignments done inside can be asserted.
Par...
Gem asked 26/8, 2016 at 10:2
1
Solved
I'm trying to test the following code:
public ICollection<RawCatalog> ReadCatalog(string familyName)
{
// Root folder for the family
string familyFolder = this.GetFamilyFolder(familyName);...
Mahaliamahan asked 13/2, 2014 at 14:23
2
I have a simple MVC4 solution that works just fine until I set a breakpoint in the controller. If I do that, the breakpoint does not hit, and I get a pop-up window titled, "Source Not Available" th...
Hawaiian asked 16/10, 2013 at 22:46
2
Solved
Using JustMock, can I arrange a mock to return something based on the input parameter?
For example, say a method takes in an int, I want to return that value + 1
I want the output to always be moc...
3
Solved
I've started TDD some weeks ago. I have to do Unit Tests on a C# code full of non-virtual methods and there is no much interface either. Therefore, after I've been studying RhinoMock and Moq,...
1
Solved
I have a simple 'Service' system set up with an interface as shown below. I am trying to mock it for use in my unit testing, but am having a bit of an obstacle. The way it works is that I design cl...
Opia asked 14/4, 2011 at 12:45
6
Solved
I need to choose mock framework to new project.
What are the pros and cons for those frameworks?
Any comparison table?
I know that JustMock is i beta stage but it's look very good right n...
Kinchen asked 14/4, 2010 at 11:53
1
© 2022 - 2024 — McMap. All rights reserved.