KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
mocking
152 questions · page 2 of 4
Follow Tag
Sort by:
Newest
Votes
Active
13
votes
5
answers
How do I mock this?
c#
.net
unit-testing
mocking
asked 2011-08-11T18:03:17.750
72
votes
3
answers
Passing Moq mock-objects to constructor
c#
.net
mocking
moq
asked 2011-08-10T13:29:07.927
94
votes
12
answers
Are there any Fake File System frameworks for Java?
java
unit-testing
testing
mocking
asked 2011-08-07T01:47:07.567
17
votes
3
answers
What is the best way to inject mocked Spring @Autowired dependencies from a unit test?
java
spring
dependency-injection
mocking
autowired
asked 2011-07-27T07:36:33.720
101
votes
4
answers
mockito callbacks and getting argument values
java
unit-testing
mocking
mockito
asked 2011-07-08T23:58:21.240
9
votes
4
answers
Best simple way to mock static/global function?
c++
unit-testing
function
mocking
static-functions
asked 2011-06-30T23:33:58.957
16
votes
3
answers
Is the moq project dead? Is it wise for me to invest in learning it?
c#
.net
open-source
mocking
moq
asked 2011-06-23T13:35:32.423
11
votes
6
answers
How to mock application path when unit testing Web App
c#
asp.net
asp.net-mvc
unit-testing
mocking
asked 2011-06-21T15:59:55.727
16
votes
4
answers
C++ Unit Testing: Stubs (not mocks)?
c++
unit-testing
mocking
stub
googlemock
asked 2011-06-14T23:32:34.673
30
votes
2
answers
How to verify multiple method calls with Moq
c#
testing
.net-4.0
mocking
moq
asked 2011-06-08T02:22:19.203
9
votes
3
answers
In Grails, is there a good way to mock the current time using Joda time?
grails
time
groovy
mocking
jodatime
asked 2011-05-25T20:56:13.650
17
votes
2
answers
How to test a method invocation inside an anonymous class using mockito
java
mocking
mockito
asked 2011-05-05T03:08:31.387
56
votes
4
answers
In PHPUnit, how do I indicate different with() on successive calls to a mocked method?
php
mocking
phpunit
asked 2011-04-29T22:23:46.763
24
votes
3
answers
Mock non-virtual method C++ (gmock)
c++
mocking
googlemock
asked 2011-04-25T11:05:22.993
10
votes
3
answers
TypeMock VS JustMock (VS RhinoMock,Moq...): current situation in 2011?
mocking
moq
typemock
justmock
asked 2011-04-22T12:32:04.743
42
votes
2
answers
Difference between Dependency Injection and Mocking Framework (Ninject vs RhinoMocks or Moq)
c#
.net
dependency-injection
mocking
asked 2011-03-25T13:37:58.450
114
votes
5
answers
Mocking Functions Using Python Mock
python
unit-testing
mocking
asked 2011-03-12T23:43:12.523
20
votes
2
answers
rspec test result from csv.read mocking file
ruby-on-rails
file
mocking
rspec
rspec2
asked 2011-03-07T11:02:19.917
30
votes
3
answers
Mocks and Stubs
ruby-on-rails
ruby
ruby-on-rails-3
mocking
asked 2011-03-02T06:21:45.317
14
votes
1
answers
getting the object passed as an argument to a stubbed method with Mocha
ruby
mocking
stubbing
ruby-mocha
asked 2011-02-24T20:40:33.703
10
votes
4
answers
How do I generate a custom message from a custom Mockito ArgumentMatcher?
mocking
mockito
asked 2011-02-19T15:51:07.387
67
votes
6
answers
Mocking out methods on any instance of a python class
python
testing
mocking
asked 2011-02-18T02:00:48.333
19
votes
4
answers
PowerMock: mocking of static methods (+ return original values in some particular methods)
java
mocking
mockito
powermock
asked 2011-02-01T08:42:54.360
12
votes
2
answers
Testing if a function is called using Mocha
ruby-on-rails
testing
ruby-on-rails-3
mocking
mocha.js
asked 2010-12-09T06:42:18.607
11
votes
6
answers
Hard-Coded Mock Objects vs Mocking Framework
unit-testing
testing
mocking
asked 2010-12-06T20:24:42.290
28
votes
8
answers
fake/mock nonvirtual C++ methods
c++
testing
mocking
asked 2010-11-25T16:19:55.040
22
votes
7
answers
Mocking FacesContext
unit-testing
jsf
groovy
mocking
facescontext
asked 2010-11-23T02:57:41.587
12
votes
7
answers
Is there a mocking/stubbing framework for Common Lisp?
unit-testing
tdd
mocking
lisp
common-lisp
asked 2010-11-01T11:11:34.280
17
votes
1
answers
Why the 'Moq.Proxy.CastleProxyFactory' type initializer exception when using NET40-NoCastle?
c#
unit-testing
testing
mocking
moq
asked 2010-10-28T13:11:01.797
50
votes
1
answers
Moq - Need mocked function to return value passed in
mocking
moq
asked 2010-10-14T19:50:10.480
101
votes
3
answers
How to mock ModelState.IsValid using the Moq framework?
c#
asp.net-mvc
unit-testing
mocking
moq
asked 2010-09-29T14:57:51.143
12
votes
4
answers
Mock objects in C++
c++
unit-testing
mocking
asked 2010-09-28T03:36:24.760
10
votes
3
answers
Partial Mocking As Code Smell?
java
refactoring
mocking
partial-mocks
asked 2010-09-27T19:06:56.163
30
votes
2
answers
Verify the number of times a protected method is called using Moq
.net
unit-testing
mocking
moq
asked 2010-09-16T16:51:23.523
9
votes
3
answers
When and when not to stub/mock a test
ruby-on-rails
ruby
unit-testing
mocking
rspec
asked 2010-09-13T23:59:38.593
10
votes
1
answers
Testing a Class with a Static Class/method dependency
c#
unit-testing
static
mocking
asked 2010-09-10T21:05:01.240
204
votes
10
answers
What is the purpose of mock objects?
unit-testing
mocking
asked 2010-09-01T22:03:06.810
16
votes
2
answers
Function Programming and Mock Objects
functional-programming
mocking
asked 2010-08-25T10:32:59.800
49
votes
2
answers
How to only throw exception when the mocked method is called for the first time?
unit-testing
mockito
mocking
asked 2010-08-16T22:56:52.977
16
votes
6
answers
Handling unit tests with a condition on the current time
java
unit-testing
junit
mocking
tdd
asked 2010-08-11T14:05:24.550
9
votes
3
answers
How do I prevent my unit tests from requiring knowledge about implementation internals when using mock objects?
unit-testing
oop
mocking
dunit
pascalmock
asked 2010-08-10T10:47:17.987
17
votes
2
answers
PHPUnit - creating Mock objects to act as stubs for properties
php
mocking
phpunit
asked 2010-07-21T23:17:33.700
77
votes
2
answers
jquery (or pure js) simulate enter key pressed for testing
javascript
jquery
testing
mocking
asked 2010-07-18T18:50:47.127
39
votes
3
answers
PHPUnit, mocked interfaces, and instanceof
php
unit-testing
mocking
phpunit
asked 2010-07-14T21:01:40.103
15
votes
4
answers
Non Interface dependent Mocking Frameworks for C#
c#
mocking
asked 2010-07-12T16:24:49.860
18
votes
5
answers
How can I use Rhino Mocks to inspect what values were passed to a method
c#
unit-testing
mocking
rhino-mocks
asked 2010-07-12T13:36:55.270
53
votes
2
answers
Moq - verify that no methods were called
unit-testing
mocking
moq
asked 2010-07-03T22:01:30.477
22
votes
4
answers
Mockito preferrable over EasyMock?
java
unit-testing
mocking
easymock
mockito
asked 2010-06-27T13:41:19.863
32
votes
6
answers
Advice on Mocking System Calls
c++
unit-testing
mocking
asked 2010-05-27T19:58:55.510
11
votes
5
answers
Why do we need mocking frameworks like Easymock , JMock or Mockito?
unit-testing
tdd
mocking
easymock
stubs
asked 2010-05-04T12:09:30.613
← Prev
page 2 of 4
Next →