Documentation
¶
Index ¶
- func BenchmarkCustomSuite(path string)
- func GatherTests(directory string) (tests []string)
- func RunBenchmark(path string, b *testing.B)
- func RunBenchmarkSuite(directoryFromRoot string, b *testing.B)
- func RunTest(path string) (result *spec.Result)
- func RunTestSuite(directoryFromRoot string, t *testing.T)
- func TestCustomSuite(path string)
- type TritiumTest
- type TritiumTest_Hash
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BenchmarkCustomSuite ¶
func BenchmarkCustomSuite(path string)
func GatherTests ¶
func RunBenchmark ¶
func RunBenchmarkSuite ¶
func RunTestSuite ¶
func TestCustomSuite ¶
func TestCustomSuite(path string)
Types ¶
type TritiumTest ¶
type TritiumTest struct {
Script string
Input string
Output string
EnvProto []*TritiumTest_Hash
ExportsProto []*TritiumTest_Hash
Logs []string
Transformer *tp.Transform
Rrules []*tp.RewriteRule
}
func NewTritiumTestFromFolder ¶
func NewTritiumTestFromFolder(path string) (test *TritiumTest, err error)
func (*TritiumTest) Env ¶
func (test *TritiumTest) Env() (env map[string]string)
func (*TritiumTest) Exports ¶
func (test *TritiumTest) Exports() (exports [][]string)
func (*TritiumTest) SetEnv ¶
func (test *TritiumTest) SetEnv(env map[string]string)
func (*TritiumTest) SetExports ¶
func (test *TritiumTest) SetExports(exports [][]string)
func (*TritiumTest) WriteFolder ¶
func (test *TritiumTest) WriteFolder(path string) (err error)
type TritiumTest_Hash ¶
Click to show internal directories.
Click to hide internal directories.