-
Just do it
-
Like Mockito for Java it will be very nice if Mockito Flex will support partial mocks.
See:
http://mockito.googlecode.com/svn/tags/1.8.0/javadoc/org/mockito/Mockito.html#16
-
Unittests might fail if the VIES registry API is down. This happened to me in the last few weeks.
To prevent this failure, I mocked registries responses with the code:
``` python
import unittest
imp…
-
Improve function mock's. I think that cgreen could be a good model here.
I am thinking along the lines of having expectations and scripted return values.
www.lastcraft.com/cgreen.php
-
```
How about mocking (doReturn-when) with reflection? i.e. method name and
arguments are provided at the run-time. One use that I can find is when
using dynamically generated classes.
class A {
p…
-
```
How about mocking (doReturn-when) with reflection? i.e. method name and
arguments are provided at the run-time. One use that I can find is when
using dynamically generated classes.
class A {
p…
-
```
How about mocking (doReturn-when) with reflection? i.e. method name and
arguments are provided at the run-time. One use that I can find is when
using dynamically generated classes.
class A {
p…
-
### 🐛 Describe the bug
Something that perennially gives me fits is what to do about error programs that have distributed collectives in them. To test the collective directly, I have to actually run t…
-
ex: https://github.com/defi-wonderland/smock
-
![image](https://user-images.githubusercontent.com/27461460/71795074-b8f4f180-3087-11ea-8ad4-40321a5edce7.png)
Any idea how we can mock this module and make better testing coverage?