New posts in mocking

Rspec: Stub method that is in the controller

Any way to reset a mocked method to its original state? - Python Mock - mock 1.0b1

Is it recommended to mock concrete class?

Should I practice "mockist" or "classical" TDD?

Unit testing handling of degraded network stack, file corruption, and other imperfections

When using unittest.mock.patch, why is autospec not True by default?

Better way to mock class attribute in python unit test

Difference between Dependency Injection and Mocking Framework (Ninject vs RhinoMocks or Moq)

Mock Python's built in print function

Mocking Static methods using Rhino.Mocks

Moq - verify that no methods were called

Mocking only a single method on an object

How can I unit test my ASP.NET MVC controller that uses FormsAuthentication?

How to unit test functions that use type hinting

Mockito - when thenReturn

In RSpec, is there a method equivalent to "unstub" but for "should_receive"?

Mocking Static Blocks in Java

How can I patch / mock logging.getlogger()

How to mock external dependencies in tests? [duplicate]

How to mock specific methods but not all of them in Rust?