NewConfig returns a new constructed testcase config with specified testcase name.
(name string)
| 9 | |
| 10 | // NewConfig returns a new constructed testcase config with specified testcase name. |
| 11 | func NewConfig(name string) *TConfig { |
| 12 | return &TConfig{ |
| 13 | Name: name, |
| 14 | Environs: make(map[string]string), |
| 15 | Variables: make(map[string]interface{}), |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | // TConfig represents config data structure for testcase. |
| 20 | // Each testcase should contain one config part. |
no outgoing calls