Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
Version string // Module version.
Dir string // Absolute path to the module root directory.
// contains filtered or unexported fields
}
Module represents a test module used in tests.
Uses:
- github.com/ctx42/tst-a@v0.1.0
- github.com/ctx42/tst-b@v0.1.0
- github.com/ctx42/tst-a@v0.2.0
- github.com/ctx42/tst-b@v0.2.0
func New ¶
New creates a new module in a temporary directory.
The version parameter must be one of the following:
- "v1" - uses tst-a@v0.1.0 and tst-b@v0.1.0 modules.
- "v2" - uses tst-a@v0.2.0 and tst-b@v0.2.0 modules.
Click to show internal directories.
Click to hide internal directories.
