Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExpected ¶
GetExpected returns 'example' Module and expected Golden file content
Types ¶
type TestSettings ¶
type TestSettings struct {
// contains filtered or unexported fields
}
TestSettings respresents the Settings instance for tests
func Settings ¶
func Settings() *TestSettings
Settings returns TestSettings instance with predefined set of print.Settings
func (*TestSettings) Build ¶
func (s *TestSettings) Build() *print.Settings
Build builds and returns print.Settings based on the provided overrides in TestSettings
func (*TestSettings) With ¶
func (s *TestSettings) With(override *print.Settings) *TestSettings
With appends provided 'override' print.Settings to TestSettings
func (*TestSettings) WithColor ¶
func (s *TestSettings) WithColor() *TestSettings
WithColor appends predefined 'ShowColor: true' to TestSettings
func (*TestSettings) WithSections ¶
func (s *TestSettings) WithSections() *TestSettings
WithSections appends predefined show all sections ShowHeader, ShowProviders, ShowInputs, ShowOutputs to TestSettings
Click to show internal directories.
Click to hide internal directories.