Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in mocking

any(MyClass.class) that actually matches only classes of the type of the passed class?

Coverage vs reachable code

Mocking expectations in Kiwi (iOS) for a delegate

How do you stub all methods of a particular mock instance

How to mock HttpServletRequest in Spock

how to create a mock in a model test case

Does FakeItEasy support the idea of Partial Mocks?

How to mock DragEventArgs

wpf unit-testing mocking moq

Mock file input as file path on Rspec

Verifying a call parameter via a callback in NSubstitute

How can unit tests be modular when they are dependant on other units?

How can I mock an external function within a method in a class

Using Moq with Linq Any()

c# .net unit-testing mocking moq

How can I use mock_open with a Python UnitTest decorator?

Why is assert_called_with failing to pass?

mocking patch python-2.6

Unit testing Express/Mongoose app routes without hitting the database

How to mock HttpContext.Current.GetOwinContext() with Nunit and RhinoMocks?

Parallel test with shared mock

How can I mock patch a class used in an isinstance test?

Cannot monkey patch module variable in Python unit tests