Skip to content
#

mocking-framework

Here are 94 public repositories matching this topic...

msw
kettanaito
kettanaito commented Feb 15, 2022

It may help in some cases of debugging to see what is the registered worker's scope. I don't think there's a way to see the worker's scope in the DevTools, it only lists "clients".

[MSW] Mocking enabled.
- Documentation: https://mswjs.io/docs
- Find an issue? <GITHUB_LINK>
- Scope: /

We may also consider printing additional information:

  • The worker script location;
  • The list
good first issue feature scope:browser
mockk
florianschmidt1994
florianschmidt1994 commented Apr 14, 2017

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.
cloverrose
cloverrose commented Mar 27, 2020

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
bug good first issue

Improve this page

Add a description, image, and links to the mocking-framework topic page so that developers can more easily learn about it.

Curate this topic

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."

Learn more