Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in stubbing

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?

Rails Rspec allow_any_instance_of raises "does not implement" error for ActiveRecord object attributes

Stubbing ActiveRecord associations

Stubbing when an object's constructor builds another object

Rspec double expect/allow anything

rspec mocking stubbing

Given wsdl + xds type file, how do I create a stub WCF webservice?

wcf web-services wsdl stubbing

How to use the real parameters when creating a stub method in RhinoMocks?

c# rhino-mocks stubbing

Stub calls to third party services using WireMock

stub_request when request body is not predictable

What is ongoingstubbing in mockito and where we use it?

junit mockito stubbing

How is 'provided' implemented in a fact in Midje?

clojure tdd stubbing midje

RSpec: Stubbing SFTP

Stubbing with Faraday and Rspec

rspec mocking stubbing faraday

Populating instance variables in rspec tests

ruby rspec stubbing

How do you stub ActiveRecord::Base methods without making assumptions about how it's used?

When to use stubs and mocks?

Stubbing nested function calls in sinon

Ruby stubbing with faraday, can't get it to work