Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in stubbing
Mockito specific matchers like anyString() don't seem to work with overloaded methods?
Dec 14, 2025
java
junit
mocking
mockito
stubbing
How to stub an external API for testing
Dec 14, 2025
testing
node.js
stubbing
How to mock/stub methods in Elixir library Ecto/Repo?
Oct 20, 2025
mocking
elixir
phoenix-framework
ecto
stubbing
How to stub a delete association to return false
Oct 20, 2025
ruby-on-rails
ruby
rspec
stubbing
Why is Mockito behaving weird with InputStreams?
Sep 19, 2025
java
unit-testing
mockito
stubbing
Replace method implementation when stubbing with mocha
Sep 18, 2025
ruby-on-rails
ruby
testing
rspec
stubbing
Is it good to use database queries in Rspec?
Sep 05, 2025
ruby-on-rails
rspec
mocking
stubbing
How do I set a variable in my rspec test so that it can be used by the controller for a query?
Jan 14, 2023
ruby-on-rails
rspec
controller
tdd
stubbing
capture parameters passes to stub in powermockito
Jan 11, 2023
java
junit
mockito
powermock
stubbing
How do I stub a path generating method in Rails?
Dec 23, 2022
ruby-on-rails-3
rspec
stubbing
Mockito when/then not returning expected value
Dec 03, 2022
java
unit-testing
mockito
stubbing
Rhino Mocks: stubbing value used in assertion?
Nov 16, 2022
c#
rhino-mocks
variable-assignment
mspec
stubbing
How do you stub all methods of a particular mock instance
Oct 30, 2022
ruby-on-rails
rspec
mocking
stubbing
Sinon.JS stub for window.location.search
Dec 27, 2021
coffeescript
stubbing
sinon
buster.js
Mockito doesn't correctly stub methods taking list as argument
Jul 22, 2020
java
unit-testing
mockito
stubbing
argument-matcher
How would I go about unit testing this?
Jul 18, 2012
c#
unit-testing
mocking
rhino-mocks
stubbing
Stubbing/mocking intent in Android Espresso test
Jun 18, 2020
java
zxing
android-espresso
stubbing
Mockito vs JMock
Nov 06, 2019
java
junit
mocking
mockito
stubbing
Stub out address geocoding during RSpec unit test
Feb 05, 2023
ruby-on-rails
ruby
rspec
geocode
stubbing
Older Entries »