mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-27 11:10:31 +08:00
refactor: TestCase/TestCaseDef/StepConfig models
This commit is contained in:
@@ -16,8 +16,7 @@ func NewConfig(name string) *TConfig {
|
||||
}
|
||||
}
|
||||
|
||||
// TConfig represents config data structure for testcase.
|
||||
// Each testcase should contain one config part.
|
||||
// define struct for testcase config
|
||||
type TConfig struct {
|
||||
Name string `json:"name" yaml:"name"` // required
|
||||
Verify bool `json:"verify,omitempty" yaml:"verify,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user