-
In some our tests we have plenty of mocks and sometimes tests fail with
```
** (MatchError) no match of right hand side value: false
code: with_mocks(mocks) do
stacktrace:
…
-
When using more than one mock repository, the destructor of the second mock repository fails with a memory access violation at hippomocks.h:942 when calling `TestFinished()` on the reporter of the sec…
-
It looks to me as if `MockitoExtension` just checks the base type and does not respect the parameterized type of mocks.
This test will fail:
```java
testCompile group: 'org.mockito', name: 'mocki…
-
[Enter feedback here]
I found this site through a colleague,
Usually I follow almost all those practices, but what can you tell me about setting up the "Arrange" part in the constructor of the t…
-
## Summary
Combine `rspec-core`, `rspec-mocks`, `rspec-expectations`, `rspec-support`, `rspec-dev` (which would be mostly deprecated with this proposal), the `rspec` meta-gem, and possible `rspec-r…
-
While developing I've run a few times into github's api rate limits (with my auth_token set!), which gets pretty annoying, as the tap does not work at all then.
This might become an issue for CI as w…
-
Originally reported on Google Code with ID 298
```
In a Mock throw a checked exception
1 * repository.findOne(42l) >> {throw new NotFoundException("oh no!")}
In the "then" clause use the thrown …
-
```
Here is a simple example:
SomeClass mock = Mokito.mock(SomeClass.class);
RealObject realObject = new RealObject();
InOrder order = Mockito.inOrder(realObject, mock);
I would expect an exception…
-
```
Guava's Optional is described here:
http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/base/Op
tional.html
It'd be nice when calling a method on a mocked object whose retur…
-
I love this a lot, but one thing that would make it even greater would be if there was a way I could define a few responses beforehand in like a mock.js file instead of having to make the requests whe…