Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertCommitter ¶
func AssertCommitter(t *testing.T, snapshotPath string, committer *state.DryRunCommitter)
AssertCommitter asserts that the snapshotPath matches the state in a DryRunCommitter. This assert always passes if the env var UPDATESNAPSHOT == true
func AssertEqual ¶
func AssertEqual(t *testing.T, snapshotDir string, actualFiles []core.ResourceFile)
AssertEqual asserts that a snapshot (aka "gold files") are equal to the generated resource files
func ShouldUpdate ¶
func ShouldUpdate() bool
ShouldUpdate checks for the UPDATESNAPSHOT env var to determine if snapshot content should be updated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.