Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JavaSeleniumTestSuite ¶
type JavaSeleniumTestSuite struct { // The name of the Docker image for the test suite. Image string }
TestSuite defines a Java test suite.
func (*JavaSeleniumTestSuite) Build ¶
func (j *JavaSeleniumTestSuite) Build(path string) error
Build produces the artifacts needed to run the Java test suite. It will create a Docker image on the host. If there is any error it is returned.
func (*JavaSeleniumTestSuite) ListTests ¶
func (j *JavaSeleniumTestSuite) ListTests() (tests []string, err error)
ListTests returns the list of all tests declared into a Java test suite in the order in which they are run. If there is any error, it is returned.
func (*JavaSeleniumTestSuite) Run ¶
func (j *JavaSeleniumTestSuite) Run(config *RunConfig) (results []bool, err error)
Run invokes the Java test suite with a given configuration and returns its results. The test results are represented as booleans. If the test is passed, the value is true; otherwise it is false. If there is any error, it is returned.
type JunitTestSuite ¶
type JunitTestSuite struct {
Image string
}
func (*JunitTestSuite) Build ¶
func (j *JunitTestSuite) Build(path string) error
func (*JunitTestSuite) ListTests ¶
func (j *JunitTestSuite) ListTests() (tests []string, err error)
type RunConfig ¶
type RunConfig struct { Name string Env []string Tests []string StartConfig *docker.RunOptions }
type TestSuite ¶
type TestSuite struct {
// contains filtered or unexported fields
}
func NewTestSuite ¶
Click to show internal directories.
Click to hide internal directories.