Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitQualifiedName ¶
SplitQualifiedName splits a qualified name into module and test name.
Types ¶
type Job ¶
type Job struct {
// Full qualified name of the test or control function to be executed.
Name string
// Working directory for the job.
Dir string
// Test suite the job belongs to.
Suite *Suite
// contains filtered or unexported fields
}
Job represents a single job to be executed.
type Runner ¶
type Runner interface {
// Run the jobs in the given channel.
Run(ctx context.Context, jobs <-chan *Job) <-chan Result
}
Runner is a test runner.
type Suite ¶
Suite represents a test suite.
func NewSuite ¶
NewSuite creates a new suite from the given files. It expects either a single directory as argument or a list of regular .ttcn3 files.
Calling NewSuite with an empty argument list will create a suite from current working directory or, if set, from NTT_SOURCE_DIR.
NewSuite will read manifest (package.yml) if any.
Click to show internal directories.
Click to hide internal directories.