A replacement implementation for objects, methods, or functions in order to remove external dependencies.
I'm using PowerMock and I'd like to know how to keep all behavior of the child class, but stub super …
java overriding powermock super stubI'm brand new to Jasmine and trying to figure out how to mock the $window.sessionStorage object when testing an …
angularjs unit-testing jasmine stubI'm trying to stub a React component method for testing purpose: var Comp = React.createClass({ displayName: "Comp", plop: function() { console.…
javascript reactjs stub sinonJust wondering if/how arguments can be passed in rspec stub chains. To give an example, suppose I have the …
ruby-on-rails rspec stubI have a controller based on MHartl's RoR4 Tutorial And just like MHartl, I'm not using Devise, I rolled my …
ruby-on-rails ruby-on-rails-4 rspec stubI'm a C# dev moving into some Python stuff, so I don't know what I'm doing just yet. I've read …
python unit-testing mocking stubI would like to re-stub someHandler.getStatus, but I'm getting TypeError: Attempted to wrap getStatus which is already wrapped .. it(…
javascript unit-testing sinon stubFor testing purpose, I need to simulate client for generating 100,000 messages per second and send them to kafka topic. Is …
streaming apache-kafka simulation messaging stubAlthough there are plenty of resources, even here on SO, only two of the terms are compared to each other …
unit-testing mocking stub