 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoilerplatePath ¶
func BoilerplatePath() string
BoilerplatePath is the path to the controller-tools/test boilerplate file
func ProjectPath ¶
func ProjectPath() string
ProjectPath is the path to the controller-tools/test project file
Types ¶
type TestResult ¶
type TestResult struct {
	// Actual is the bytes written to a scaffolded file.
	Actual bytes.Buffer
	// Golden is the golden file contents read from the controller-tools/test package
	Golden string
}
    TestResult is the result of running the scaffolding.
func NewTestScaffold ¶
func NewTestScaffold(writeToPath, goldenPath string) (*scaffold.Scaffold, *TestResult)
NewTestScaffold returns a new Scaffold and TestResult instance for testing
 Click to show internal directories. 
   Click to hide internal directories.