blob: 8419c8bbace2ac04a15dc8894714ce60ad259d77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package planr
// Test adapters must implement all life cycle hooks
// This allows common config, code generation, etc
// Test cases matching adapter configurations will be
// fed into the adapter interface
type Adapter interface {
//
Config() AdapterConfig
// Called once to preform expensive code generation
Build(testCase []*TestCase)
// Called every time source changes
Evaluate(testCase []*TestCase)
}
|