A replacement implementation for objects, methods, or functions in order to remove external dependencies.
var MyClassStub = sinon.createStubInstance(MyClass); MyClassStub doesn't contain static methods. How to fix that?
node.js sinon stubI am using sinon v4.1.2. According to the documentation (http://sinonjs.org/releases/v4.1.2/sandbox/), I should be able to …
sinon stubI have a Rails 4 application, and here is my lib/foobar: jan@rmbp ~/D/r/v/l/foobar> tree . ├── …
ruby-on-rails rspec ruby-on-rails-4 stubMaybe this is a newbie question, but can't find the answer. I need to stub a method with Mockito. If …
java parameters mockito stubMuch like this question, I too am using Ryan Bates's nifty_scaffold. It has the desirable aspect of using Mocha's …
ruby testing mocking stub ruby-mochaThere are quite a few written about stub vs mocks, but I can't see the real difference between fake and …
testing terminology stubI'm trying to test a scope I have that is based upon a chain of other scopes. ("public_stream" below). …
activerecord ruby-on-rails-3 rspec stubWhat is the difference between rhino-mocks stub and expect here: Looks to me that they behave exact the same? mockContext.…
mocking rhino-mocks stub stubbing expectationsI am trying to unit-test a piece of code that gets called from a WebAPI (OData) controller and takes in …
c# asp.net-web-api stub microsoft-fakes