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 mocking
Cannot use attach_mock with an autospec function mock
Dec 10, 2025
python
testing
mocking
pytest
pytest-mock
How to return based on actual arguments being sent?
Dec 10, 2025
javascript
unit-testing
mocking
sinon
stub
How to mock functions in Python in order to change default keyword arguments
Dec 09, 2025
python
mocking
keyword-argument
How to mock private static final field
Dec 08, 2025
java
mocking
Trying to configure method "first" which cannot be configured because it does not exist, has not been specified, is final, or is static
Dec 08, 2025
symfony
mocking
phpunit
How to Mock Pulumi Resources in Go Unit Tests?
Dec 08, 2025
amazon-web-services
unit-testing
go
mocking
pulumi
python unittest : Assert the sequence of method calls in unit test [duplicate]
Dec 08, 2025
python
function
mocking
python-mock
jMock Expectations Not Specified
Dec 08, 2025
java
mocking
jmock
Do I need to verify interaction with mocks or just check the method inputs and outputs?
Dec 08, 2025
unit-testing
mocking
mockito
Mock Linq `Any` predicate with Moq
Dec 07, 2025
c#
linq
unit-testing
mocking
moq
Why does mocking 'open' and returning a FileNotFoundError raise AttributeError: __exit__?
Dec 07, 2025
python-3.x
mocking
python-unittest
try-except
Is it possible to mock service which is created in class under test?
Dec 07, 2025
java
junit
mocking
mockito
maven-plugin
How can I avoid large multi-step unit tests?
Dec 06, 2025
c#
unit-testing
inversion-of-control
mocking
rhino-mocks
How to mock an attr.ib validator
Dec 06, 2025
python
mocking
python-attrs
Moq SetUp.Return not working for repository mock
Dec 07, 2025
unit-testing
mocking
nunit
moq
repository-pattern
stub and mock a subrotine for unit testing in perl
Dec 07, 2025
perl
mocking
stub
Dependency Injection, IoC and Mocking finally explained in a simple and understandable way! [closed]
Dec 07, 2025
dependency-injection
mocking
inversion-of-control
nerddinner
Older Entries »