Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstance ¶
NewInstance creates a runtime and an instance for use in tests. The instance's repo is a temp directory that will be cleared when the tests finish.
func NewInstanceForProject ¶
NewInstanceForProject creates a runtime and an instance for use in tests. The passed name should match a test project in the testdata folder. You should not do mutable repo operations on the returned instance.
Types ¶
Click to show internal directories.
Click to hide internal directories.