Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in mocking

Mocking Static methods using Rhino.Mocks

c# tdd mocking rhino-mocks

Moq - verify that no methods were called

unit-testing mocking moq

How do you mock MySQL (without an ORM) in Node.js?

mysql node.js mocking vows sinon

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

Mocking out methods on any instance of a python class

python testing mocking

What are mock objects in Java?

java unit-testing mocking

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

rspec mocking stub

Mocking Static Blocks in Java

Why can't I use a try block around my super() call?

Moq - Need mocked function to return value passed in

mocking moq

Can I mock an interface implementation with PHPUnit?

php interface mocking phpunit

Why python mock patch doesn't work?

What is the difference between jest.fn() and jest.spyOn() methods in jest?

reactjs mocking jestjs spy

How to mock python's datetime.now() in a class method for unit testing?

How to mock http.Client Do method

How to mock new Date() in java using Mockito

Unit testing with EF4 "Code First" and Repository

Need help to understand Moq better

c# mocking lambda moq

Is it possible to create a mock object that implements multiple interfaces with EasyMock?

Moq: Setup a mocked method to fail on the first call, succeed on the second