KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
mocking
152 questions · page 1 of 4
Follow Tag
Sort by:
Newest
Votes
Active
17
votes
2
answers
How to Mock a missing attribute
python
mocking
asked 2013-07-19T19:35:13.010
8
votes
3
answers
How to mock malloc to return null in GMOCK?
c++
mocking
googletest
googlemock
asked 2013-07-15T22:06:29.467
27
votes
5
answers
Cannot Use ConfigurationManager inside Unit Test Project
c#
sql
unit-testing
configuration
mocking
asked 2013-07-10T20:41:41.237
18
votes
1
answers
Uninteresting mock function call bla() && Expected: to be called at least once bla()?
c++
mocking
googletest
googlemock
asked 2013-06-12T08:30:37.003
9
votes
2
answers
Cleanly Mocking Remote Servers and APIs for Django Unittests
python
django
unit-testing
mocking
asked 2013-06-03T12:14:07.800
99
votes
6
answers
How to properly use mock in python with unittest setUp
python
unit-testing
mocking
asked 2013-04-04T20:51:47.390
33
votes
4
answers
Getting Unknown Provider error when injecting a Service into an Angular unit test
testing
angularjs
mocking
inject
asked 2013-04-04T09:13:43.367
19
votes
4
answers
Mocking modules in Node.js for unit testing
node.js
unit-testing
mocking
jasmine
asked 2013-04-03T14:43:04.990
10
votes
3
answers
Understanding stubs, fakes and mocks.
unit-testing
mocking
tdd
stubs
asked 2013-02-15T09:48:35.463
10
votes
2
answers
How do I test an API Client with Python?
python
unit-testing
mocking
asked 2013-02-05T21:48:53.957
10
votes
6
answers
java.lang.ClassCastException: com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl cannot be cast to DocumentBuilderFactory
unit-testing
junit
mocking
easymock
powermock
asked 2013-02-01T10:24:04.993
11
votes
2
answers
Difference between Isolation Framework and Mock Framework
unit-testing
frameworks
mocking
asked 2013-01-06T14:44:27.640
8
votes
1
answers
Struct vs test double in ruby
ruby
rspec
mocking
asked 2012-12-12T21:18:44.333
40
votes
5
answers
Can I change a method on a PHPUnit Mock after I've set it?
php
mocking
phpunit
asked 2012-11-29T18:00:23.083
117
votes
7
answers
Mock a constructor with parameter
java
junit
mocking
mockito
powermock
asked 2012-11-13T16:17:10.363
43
votes
1
answers
python mock side_effect or return_value dependent on call_count
python
mocking
asked 2012-11-13T10:19:48.023
9
votes
5
answers
Java `final` class and mocking
java
unit-testing
maven
mocking
mockito
asked 2012-10-30T13:01:50.737
37
votes
2
answers
Method equivalent for @InjectMocks
java
junit
mocking
mockito
asked 2012-10-12T07:35:41.157
11
votes
1
answers
Mocking abstract class that has constructor dependencies (with Moq)
c#
mocking
moq
abstract-class
asked 2012-10-06T12:03:16.583
13
votes
2
answers
PowerMock static class does not mock
mocking
testng
static-methods
mockito
asked 2012-09-14T08:04:41.473
17
votes
5
answers
What is the mocking framework of choice in Unit Test Library for Windows Store Applications?
unit-testing
mocking
windows-8
asked 2012-08-23T01:13:09.570
8
votes
4
answers
Stubs / Mocks vs. Service Virtualization..? Yikes
unit-testing
mocking
stub
service-virtualization
asked 2012-08-21T13:14:12.333
16
votes
3
answers
How do I mock a TransactionManager in a JUnit test, (outside of the container)?
spring
transactions
junit
mocking
jta
asked 2012-08-02T18:07:03.100
14
votes
3
answers
How do I test a module that depends on boto and an Amazon AWS service?
python
testing
mocking
boto
amazon-dynamodb
asked 2012-08-01T18:06:23.827
10
votes
2
answers
Why does the Spring Autowire stops working when I add the "RunWith" annotation?
java
spring
mocking
mockito
powermock
asked 2012-07-13T20:32:42.873
10
votes
2
answers
How should I test using Mocks in Python?
python
unit-testing
mocking
tdd
python-mock
asked 2012-07-12T10:53:59.450
27
votes
7
answers
Is there a Java alternative to Ploeh's AutoFixture for .Net?
java
unit-testing
mocking
quickcheck
autofixture
asked 2012-07-06T17:56:20.647
8
votes
3
answers
Spring-Test-MVC / MockServletContext - content empty in test but working on Tomcat
java
testing
servlets
spring-mvc
mocking
asked 2012-06-15T07:55:08.200
15
votes
2
answers
How do I stub an event emitter with Sinon.js
javascript
mocking
stub
sinon
asked 2012-05-14T17:23:26.873
8
votes
2
answers
Is it possible to inject mocks for testing purposes with AndroidAnnotations?
android
unit-testing
mocking
ioc-container
android-annotations
asked 2012-05-05T17:41:04.197
73
votes
2
answers
Python mock patch a function called by another function
python
unit-testing
testing
mocking
patch
asked 2012-04-23T08:47:35.063
43
votes
3
answers
Mocking for integration tests
mocking
integration-testing
mockito
asked 2012-04-12T20:58:10.720
9
votes
1
answers
How do I mock java.lang.reflect.Method class in PowerMockito?
unit-testing
junit
mocking
mockito
powermock
asked 2012-03-29T15:20:39.033
30
votes
2
answers
Writing JUnit tests for Spring Validator implementation
spring
junit
mocking
validation
asked 2012-03-16T21:55:17.560
41
votes
3
answers
Are static methods a DI anti-pattern?
java
dependency-injection
mocking
static-methods
asked 2012-02-20T19:59:32.447
12
votes
4
answers
Setting mock property via Setup causes 'Expression is not a method invocation'
c#
.net
mocking
moq
asked 2012-02-07T15:13:54.450
15
votes
2
answers
Moq Setup not working, the original method is still called
c#
mocking
moq
asked 2012-02-05T22:58:23.030
168
votes
9
answers
Mocking member variables of a class using Mockito
java
mocking
mockito
asked 2012-01-24T22:58:34.687
20
votes
6
answers
Function mocking (for testing) in C?
c
unit-testing
linker
mocking
asked 2012-01-22T05:11:44.340
13
votes
5
answers
SoapUI MockServices returning html rather than xml response
java
soap
mocking
soapui
asked 2012-01-11T19:47:01.703
21
votes
3
answers
Getting an actual return value for a mocked file.read()
python
tdd
mocking
python-mock
asked 2012-01-05T17:08:43.003
9
votes
4
answers
How to unit test controllers that use springSecurityService?
unit-testing
grails
mocking
spring-security
asked 2011-12-15T07:58:44.207
11
votes
1
answers
How to Mock a Java Object in Clojure
java
clojure
mocking
asked 2011-10-14T01:25:02.230
13
votes
2
answers
Major difference between: Mockito and JMockIt
junit
mocking
mockito
jmockit
asked 2011-10-08T22:14:38.227
83
votes
5
answers
Python Mock object with method called multiple times
python
unit-testing
mocking
python-mock
asked 2011-10-05T18:09:28.293
11
votes
4
answers
Faking/mocking an interface gives "no default constructor" error, how can that be?
c#
mocking
ravendb
xunit.net
fakeiteasy
asked 2011-09-26T18:13:59.227
18
votes
3
answers
Java detect if class is a proxy
java
testing
proxy
mocking
cglib
asked 2011-09-21T18:07:16.207
28
votes
3
answers
Mocking before importing a module
python
logging
mocking
patch
asked 2011-09-03T14:17:10.907
327
votes
4
answers
Asserting successive calls to a mock method
python
mocking
asked 2011-08-30T11:29:34.067
46
votes
5
answers
Mocking classes that implement IQueryable with Moq
c#
unit-testing
mocking
moq
asked 2011-08-13T04:09:49.010
page 1 of 4
Next →