-
**Is your feature request related to a problem? Please describe.**
A quick guide for interface mocking is needed
**Describe the solution you'd like**
```
type Fooer interface{
Foo(string) …
-
It would be really nice to have an interface for SbmClient so I can mock it.
-
This doesn't work.
`promise` is *pending* and it will not be resolved :(
```typescript
interface ITest {
f(): Promise;
}
describe('test suite', () => {
it('test', async () => {
…
-
In order to [mock interfaces](https://www.apollographql.com/docs/graphql-tools/mocking.html#Mocking-interfaces) a developer should be able to pass `preserveResolvers` option to `addMockFunctionsToSche…
-
```
public interface MyInterface
{
public sealed Task SealedMethod(Foo foo) => UnsealedMethod(foo.Name);
}
```
When I mock this interface and inject into the class I am testing, I get an exc…
-
Hi, for testing purpose i need to inject/retrieve viewmodels inside composable functions using interfaces rather that concrete classes (Koin for DI).
For mocking i use MocKMP, actually the only mocki…
-
The mocking of non-interface beans not working using the latest `micronautVersion` `1.3.2` and `micronaut-test-junit5:1.1.5`. Could this be a reoccurance of https://github.com/micronaut-projects/micro…
-
A workaround for this is to define a dummy class that extends the interface to mock. Due to the fact that the IEEE people believe strongly in boilerplate code, you're also going to have to re-declare …
-
## Category
- [x] Feature request
## Describe the feature
I'm trying to mock a class in a library that uses concrete types for several of its properties, but I happen to know that the propert…
-
Once #223 is done, we can make use of it for better testing tools (like mocking helpers for the various interfaces we end up with).