typemock
unit testing legacy code: limits of "extract and override" vs JustMock/TypeMock/moles?
Given the following conditions: a very old, big, C# legacy code base with no testcoverage whatsoever (almost) every class derives from some interface[详细]
2023-03-28 23:43 分类:问答Verify that a method with particular parameters was not called using TypeMock
I am using Typemock for some of my unit tests.I have mocked static class Widget.I want to mock the return of Widget.GetPrice(123) to return value A.[详细]
2023-03-28 13:59 分类:问答Curious problem with NUnit and Typemock
Using VS 2010, NUnit, Typemock, Entity Framework... I am having a bit of an odd problem using NUnit/Typemock.I am relative new to the testing world so it could be a beginners mistake.This is the prob[详细]
2023-03-22 15:02 分类:问答Mocked object set to true is being treated like it is false
I have a unit test (using typemock 5.4.5.0) that is testing a creation service.The creation service is passed in a validation service in its constructor.The validation service returns an object that h[详细]
2023-03-20 06:16 分类:问答Fake classes using TypeMock
We are migrating from MOQ to Typemock. In MOQ we\'ve a functionality of getting a proxy class from the interface, we want to achieve the same from typemock. Actually our requirement is something like[详细]
2023-03-19 12:13 分类:问答TypeMock strange behavior
I found a strange behavior using typemock for unit testing- internal class MyClass { public static int foo(int param)[详细]
2023-03-19 08:34 分类:问答Moles to mock an indexed property
I am looking for a way to \'detour\' a single item in a configuration file with Moles. I can do this:[详细]
2023-03-16 17:05 分类:问答Overriding previously set function behavior of Typemock Isolator (WillThrow()/DoInstead())
Please check out this code: public UserRepository GetUserRepositoryMock() { // mock all UserRepository instances.[详细]
2023-03-15 18:46 分类:问答TypeMock VS JustMock (VS RhinoMock,Moq...): current situation in 2011? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2023-02-28 06:21 分类:问答Open Source / Free alternative of Typemock Isolator
Is there 开发者_开发问答any F/OSS alternative of Typemock Isolator .NET?Disclaimer: I work at Typemock[详细]
2023-02-22 11:48 分类:问答