Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in stubbing

Why is Mockito behaving weird with InputStreams?

Replace method implementation when stubbing with mocha

Is it good to use database queries in Rspec?

How do I set a variable in my rspec test so that it can be used by the controller for a query?

capture parameters passes to stub in powermockito

How do I stub a path generating method in Rails?

Mockito when/then not returning expected value

Rhino Mocks: stubbing value used in assertion?

How do you stub all methods of a particular mock instance

Sinon.JS stub for window.location.search

Mockito doesn't correctly stub methods taking list as argument

How would I go about unit testing this?

Stubbing/mocking intent in Android Espresso test

Mockito vs JMock

Wiremock error - there are no stub mappings in this WireMock instance

java wiremock stubbing

Python mockito - Mocking a class which is being instantiated from the testable function

Mock a method with an object parameter with Mockito

How can I stub the Properties.Settings object when the unit test is in a different assembly?

Stub out address geocoding during RSpec unit test