-
I'm writing a unit-test for Android app, which creates a mock of serializable custom class and tries to serialize it. It works fine in JUnit test when I'm running it in JVM, but fails with following e…
-
```
We already have functions for manually verifying a
single mock:
bool Mock::VerifyAndClearExpectations(&mock_obj);
bool Mock::VerifyAndClear(&mock_obj);
(See
http://code.google.com/p/googlemock…
-
https://github.com/moq/moq4
Possibly solution for #7.
-
Proposal: Add onboarding tasks for users who create workspaces outside of onboarding or core invite flows that lead to workspaces (IOUs/Invoices).
For background — We’ve added onboarding for most u…
-
I want to implement a method in our tests that warn the developer that his test may be not well designed if too many mocks are initialized by spring-auto-mock. For that I need a hook to count auto cre…
-
Hey, a couple of questions about the distance units in the mocks package (particularly `DDrppi_mocks`).
From a couple of tests it looks like both the `pi` and `r` distances in which pairs are found…
-
* Version of JMockit that was used: 1.43
*Java Version : openjdk version "11.0.3" 2019-04-16 LTS
OpenJDK Runtime Environment Corretto-11.0.3.7.1 (build 11.0.3+7-LTS)
OpenJDK 64-Bit Server VM Corre…
-
**Description**
Mocks inside unit tests seem to fail when adding the paparazzi plugin. Errors such as:
`java.lang.NoClassDefFoundError: Could not initialize class android.view.accessibility.Accessib…
-
Is there a way to change the standard folder `/test/mock-api` to something else ?
-
Adding this to every test class is tedious and error-prone:
```kotlin
@AfterTest
fun verify() {
verifyNoUnverifiedExpectations(dep1)
verifyNoUnverifiedExpectations(dep2)
verifyNoUnverifiedExp…