Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in mocking

Adopting "Growing Object-Oriented Software" techniques to Ruby on Rails

ruby interface rspec mocking

How to use Python Mock to raise an exception - but with Errno set to a given value

python unit-testing mocking

Stub vs Mock when unit testing [duplicate]

c# unit-testing mocking stub

How can I mock a method globally for all tests in python

How to use NSubstitute to mock a lazy class

How to mock Ruby Module functions?

ruby module rspec mocking

How to patch classmethod with autospec in unmocked class?

Verify method never called or only once called using Minitest::Mock

ruby mocking minitest

How to moq a static class with a static method (UnitOfWork case)?

c# .net mocking moq

Unit testing a REST client

c# unit-testing rest mocking

Mocking a return type from another Mocked type using Moq

c# mocking moq

How to Mock a missing attribute

python mocking

Why does this Sinon mock have a mocked method that is not a function?

How to mock uuid generation in a test case?

Mock UNNotificationResponse & UNNotification (and other iOS platform classes with init() marked as unavailable)

swift mocking tdd

java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.isAsyncStarted() while using Mockito with Junit

Is it a good practice to mock Automapper in unit tests?

When should I use `autospec=True` with the mock library?

python unit-testing mocking

jmock mocking a static method

java mocking jmock

RhinoMocks - Fetching parameters of called functions