package
Version:
v0.1.20
Opens a new window with list of versions in this module.
Published: Jul 3, 2018
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package configtest provides structs and logic for declarative configuration
tests.
type Case struct {
Transform string
Input map[string]interface{}
Result map[string]interface{}
}
Case allows declaration of a transformation to run on input and validate
against declared tesult.
Test will execute the test case panicing if Input doesn't become Result
Source Files
¶
Click to show internal directories.
Click to hide internal directories.