-
Updated
Jul 30, 2021 - Java
mocking-framework
Here are 88 public repositories matching this topic...
Expected Behavior
Invoking a mockk should never cause a test to hang. If too many invocations lead to performance issues, it would be better to either:
- throw an exception once a reasonable cap is reached
- rotate away old data
Current Behavior
After invoking a mock around 130 000 times (on my machine, running JDK 15 on Windows) further invocations will hit a wall and take for
Hey Guys,
I see an IllegalStateException when running one particular test.
What steps will reproduce the problem?
The following code fails each time it is run
Testcase:
package backend.model.posting
import backend.controller.exceptions.ConflictException
import backend.model.location.Location
import backend.model.user.UserAccount
import org.junit.Before
import org.
-
Updated
Nov 29, 2020 - Kotlin
-
Updated
Jul 27, 2021 - Objective-C
-
Updated
Aug 1, 2021 - C++
-
Updated
May 27, 2021 - TypeScript
-
Updated
Jul 28, 2021 - Swift
-
Updated
Jul 19, 2021 - JavaScript
-
Updated
Jul 16, 2021 - TypeScript
-
Updated
Jul 15, 2021 - Scala
-
Updated
Jul 25, 2021 - C#
-
Updated
Jul 31, 2021 - Java
-
Updated
Dec 9, 2020 - Go
-
Updated
Jun 15, 2021 - Pascal
-
Updated
Jul 23, 2021 - C
-
Updated
Jun 21, 2019 - Swift
-
Updated
Sep 22, 2019 - Rust
-
Updated
Aug 1, 2021 - Swift
-
Updated
Nov 26, 2020 - Python
-
Updated
Dec 5, 2020 - C#
-
Updated
Jul 27, 2019 - Swift
-
Updated
Jul 29, 2021 - Apex
-
Updated
May 23, 2020 - C#
This Add method has trailing comma in parameters part.
type Calculator interface {
Add(a int,
b int,
) int
}
It causes error like this.
10:30: expected statement, found ')' (and 1 more errors)
Usage:
1. Copy the interface you want to mock
2. Run 'mokku'
3. Paste the mocked implementation that has been written to your clipboard
-
Updated
May 31, 2017 - Java
-
Updated
Jun 8, 2021 - C
-
Updated
May 1, 2021 - TypeScript
-
Updated
Jul 11, 2019 - D
Improve this page
Add a description, image, and links to the mocking-framework topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the mocking-framework topic, visit your repo's landing page and select "manage topics."
Environment
Request handlers
handlers.ts