mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 01:39:39 +08:00
fix: ignore if testcase config is not specified
This commit is contained in:
@@ -61,7 +61,7 @@ func (path *TestCasePath) ToTestCase() (*TestCase, error) {
|
||||
return nil, err
|
||||
}
|
||||
if tc.Config == nil {
|
||||
return nil, errors.New("incorrect testcase file format, expected config in file")
|
||||
tc.Config = &TConfig{Name: "testcase name"}
|
||||
}
|
||||
|
||||
err = tc.MakeCompat()
|
||||
|
||||
Reference in New Issue
Block a user