KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
mocking
152 questions · page 3 of 4
Follow Tag
Sort by:
Newest
Votes
Active
212
votes
13
answers
How to properly match varargs in Mockito
java
mocking
variadic-functions
mockito
asked 2010-04-13T17:08:49.580
9
votes
2
answers
How can I mock this asynchronous method?
c#
unit-testing
asynchronous
mocking
moq
asked 2010-03-25T11:15:44.680
11
votes
2
answers
How do I Moq It.IsAny for an array in the setup of a method?
c#
.net
unit-testing
mocking
moq
asked 2010-03-18T17:25:33.670
13
votes
1
answers
C++ Mock/Test boost::asio::io_stream - based Asynch Handler
c++
mocking
boost-asio
googletest
googlemock
asked 2010-03-11T16:35:39.597
9
votes
3
answers
How to set a variable within a mock object
php
unit-testing
oop
mocking
phpunit
asked 2010-03-09T16:14:21.240
13
votes
5
answers
Why doesn't every class in the .Net framework have a corresponding interface?
.net
interface
mocking
bdd
asked 2010-03-03T11:54:12.093
19
votes
5
answers
How do interfaces make unit testing and mocking easier?
unit-testing
mocking
asked 2010-03-03T09:55:41.157
69
votes
8
answers
PHPUnit Mock Objects and Static Methods
php
unit-testing
mocking
doctrine
phpunit
asked 2010-03-01T15:49:00.493
21
votes
4
answers
Mocking non-virtual methods in C++ without editing production code?
c++
unit-testing
mocking
googlemock
asked 2010-02-26T04:46:17.070
9
votes
2
answers
Mockito: How to test my Service with mocking?
java
testing
junit
mocking
mockito
asked 2010-02-18T12:02:56.450
20
votes
4
answers
How to test a ruby application which uses mechanize
ruby
testing
mocking
mechanize
asked 2010-01-28T02:06:23.243
19
votes
2
answers
Is it possible to mock a Java protocol buffer message?
java
mocking
protocol-buffers
asked 2010-01-26T11:07:22.320
24
votes
3
answers
Verifying a method was called
c#
.net
mocking
moq
verify
asked 2009-12-30T13:04:41.867
16
votes
3
answers
Using Groovy MetaClass to overwrite Methods
unit-testing
programming-languages
groovy
mocking
dynamic-languages
asked 2009-12-18T11:55:16.613
62
votes
7
answers
Should you only mock types you own?
mocking
asked 2009-12-15T10:00:30.270
59
votes
5
answers
Moq - How to verify that a property value is set via the setter
c#
.net
mocking
tdd
moq
asked 2009-10-29T06:24:26.820
113
votes
7
answers
Faking an RS232 Serial Port
windows
mocking
serial-port
hardware-interface
virtual-serial-port
asked 2009-10-22T08:21:04.720
57
votes
9
answers
Why is it so bad to mock classes?
unit-testing
testing
mocking
asked 2009-10-20T14:47:15.790
16
votes
5
answers
What is wrong with Stubs for unit testing?
unit-testing
mocking
rhino-mocks
stubs
asked 2009-10-05T23:02:52.620
60
votes
2
answers
Mocking virtual readonly properties with moq
unit-testing
tdd
mocking
moq
asked 2009-09-21T12:02:45.683
25
votes
7
answers
Why Create Mock Objects?
unit-testing
mocking
testing
asked 2009-09-12T02:14:40.700
11
votes
2
answers
How can I mock Moose objects?
perl
mocking
moose
testing
asked 2009-09-02T02:27:53.667
9
votes
5
answers
When to use stubs and mocks?
unit-testing
mocking
stubbing
asked 2009-08-17T14:13:23.440
10
votes
5
answers
Has anyone successfully mocked the Socket class in .NET?
c#
nunit
mocking
rhino-mocks
nunit-mocks
asked 2009-08-11T23:48:46.587
262
votes
12
answers
Using Mockito to test abstract classes
java
unit-testing
mocking
abstract-class
mockito
asked 2009-07-06T14:40:47.627
13
votes
2
answers
Mocking non-virtual methods in C#
c#
.net
testing
mocking
typemock
asked 2009-07-02T10:43:19.417
18
votes
1
answers
How can I mock Elmah's ErrorSignal routine?
c#
asp.net-mvc
mocking
elmah
asked 2009-06-19T20:10:53.720
37
votes
7
answers
How to mock for testing in Haskell?
testing
haskell
mocking
asked 2009-06-11T23:47:23.823
189
votes
10
answers
How to mock the Request on Controller in ASP.Net MVC?
asp.net-mvc
unit-testing
mocking
rhino-mocks
moq
asked 2009-06-09T13:51:01.170
11
votes
5
answers
When is it preferable to store data members as references instead of pointers?
c++
tdd
reference
mocking
pointers
asked 2009-06-05T17:23:01.693
16
votes
3
answers
Mocking Spring MVC BindingResult when using annotations
unit-testing
spring-mvc
mocking
asked 2009-05-18T12:11:12.580
17
votes
4
answers
How do you mock the caching object in asp.net mvc?
asp.net-mvc
unit-testing
mocking
asked 2009-04-23T19:39:34.027
15
votes
4
answers
Mocking objects - declare all methods as virtual or use interface?
.net
unit-testing
mocking
asked 2009-03-27T22:47:13.707
47
votes
6
answers
Mocking Static methods using Rhino.Mocks
c#
tdd
mocking
rhino-mocks
asked 2009-02-12T06:07:47.613
75
votes
12
answers
Django: How to create a model dynamically just for testing
python
django
unit-testing
django-models
mocking
asked 2009-02-02T11:35:52.657
22
votes
3
answers
How to mock ObjectContext or ObjectQuery<T> in Entity Framework?
unit-testing
entity-framework
.net-3.5
mocking
asked 2009-01-06T04:11:59.807
14
votes
4
answers
How do I mock an IMAP server in Python, despite extreme laziness?
python
testing
imap
mocking
asked 2008-12-09T02:57:49.517
18
votes
2
answers
What is the difference between Moq-ing a class or interface?
unit-testing
class
mocking
interface
moq
asked 2008-12-08T12:56:58.590
1033
votes
18
answers
What's the difference between faking, mocking, and stubbing?
unit-testing
mocking
language-agnostic
terminology
definition
asked 2008-12-06T15:17:46.203
11
votes
10
answers
Why would I write a fake class and unit test it?
unit-testing
mocking
asked 2008-11-24T14:42:14.423
28
votes
7
answers
Asserting that a method is called exactly one time
tdd
mocking
rhino-mocks
assertions
asked 2008-11-13T02:32:54.140
11
votes
7
answers
As a "mockist" TDD practitioner, should I mock other methods in the same class as the method under test?
tdd
mocking
asked 2008-10-08T20:25:11.503
14
votes
11
answers
Mocks or real classes?
unit-testing
mocking
asked 2008-10-07T21:04:49.753
35
votes
7
answers
How to mock with static methods?
c#
.net
mocking
interface
static-methods
asked 2008-09-30T13:38:53.770
418
votes
7
answers
What's the best strategy for unit-testing database-driven applications?
database
unit-testing
orm
mocking
asked 2008-09-28T03:26:42.120
96
votes
7
answers
What is your favorite Python mocking library?
python
mocking
asked 2008-09-18T23:37:47.147
9
votes
6
answers
Mocking method results
c#
mocking
rhino-mocks
asked 2008-09-18T07:12:55.970
54
votes
10
answers
Mocking Static Blocks in Java
java
unit-testing
mocking
jmockit
static-block
asked 2008-09-14T05:31:57.430
24
votes
9
answers
How are Mocks meant to be used?
unit-testing
mocking
asked 2008-09-12T14:59:14.153
188
votes
6
answers
When should I mock?
unit-testing
language-agnostic
mocking
asked 2008-09-01T17:07:24.440
← Prev
page 3 of 4
Next →