Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { // name is case insensitive Name string Creator func() IntegrationTest EntryArgs EntryArgList }
Entry is the registery entry
type IntegrationTest ¶
type IntegrationTest interface { // Execute is the main entry of a test. // It returns any error if an error happens Execute(*TestService) error }
IntegrationTest is the interface for all integration tests All tests must implement this interface
type TestService ¶
type TestService struct {
// contains filtered or unexported fields
}
TestService is the test service
func NewTestService ¶
func NewTestService() *TestService
NewTestService create a new TestService object
func (*TestService) BindEntryArgs ¶
func (service *TestService) BindEntryArgs(entryArgs EntryArgList)
BindEntryArgs binds the entry args
func (*TestService) CleanUp ¶
func (service *TestService) CleanUp() error
CleanUp acts as the destructor
func (*TestService) GetArgString ¶
func (service *TestService) GetArgString(name string, defaultValue string) string
GetArgString return the arg string
func (*TestService) GetTempFileName ¶
func (service *TestService) GetTempFileName(prefix string, postfix string) string
GetTempFileName returns temporary file name
Click to show internal directories.
Click to hide internal directories.