Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Assertion ¶
type Assertion func() error
func HTTPGetShouldContain ¶
func HTTPGetShouldEqual ¶
func HTTPGetShouldNotContain ¶
type CodeChangeTest ¶
type CodeChangeTest struct {
Name string
// The path to the file that we're going to change.
CodePath string
// The modification that should be made to CodePath.
FileChange file.Modifier
// The expected response before the code is changed.
InitialResponseCheck Assertion
// The expected response after the code is changed.
ChangedResponseCheck Assertion
}
CodeChangeTest tests that Kelda properly syncs files by modifying a file, and checking the HTTP response.
func (CodeChangeTest) GetName ¶
func (test CodeChangeTest) GetName() string
type HTTPGetTest ¶
func (HTTPGetTest) GetName ¶
func (test HTTPGetTest) GetName() string
type HTTPPostTest ¶
func (HTTPPostTest) GetName ¶
func (test HTTPPostTest) GetName() string
Click to show internal directories.
Click to hide internal directories.