-
```
1. File -> New -> Test with Moq
2. Select class to test (with nice Find etc., look at upcoming type
selector from Entlib)
3. Default naming convention: class name == [selected type]Fixture.cs
4. G…
-
If an interface has functions with volatile non-pointer parameters (i.e. `void func(volatile int x)`), the code CMock generates issues warnings.
The volatility (like the const-ness) of function par…
-
Description
-------------
I have a mockery config like:
```
with-expecter: true
all: true
recursive: false
dir: "{{.PackageName}}mock"
outpkg: "{{.PackageName}}mock"
mockname: "{{.Interfa…
-
I am currently experimenting with testing in a IoC-powered application e.g. with Parsley.
The testing approach involves wiring-up a number of components using DI and the aim is to verify that, while …
-
```
1. File -> New -> Test with Moq
2. Select class to test (with nice Find etc., look at upcoming type
selector from Entlib)
3. Default naming convention: class name == [selected type]Fixture.cs
4. G…
-
```
1. File -> New -> Test with Moq
2. Select class to test (with nice Find etc., look at upcoming type
selector from Entlib)
3. Default naming convention: class name == [selected type]Fixture.cs
4. G…
-
I am currently experimenting with testing in a IoC-powered application e.g. with Parsley.
The testing approach involves wiring-up a number of components using DI and the aim is to verify that, while …
-
# Description
Utility for building mocks from traits that works fine with Substrate pallets.
- Initial [outdated docs](https://centrifuge.hackmd.io/bJSKpKK3SPCcwZRK13SFLA?view)
- Polkadot forum…
-
**TL;DR**
When running an Xcode build which target/scheme has parallel build enabled, when targets concurrently run `swiftymocky generate`, the output of these builds become unpredictable. Disabling …
-
# Observed behavior
When generating mocks for an interface like this
```go
package test
//go:generate mockery --name Test
type Test interface {
Test(_ int)
}
```
the generated code looks …