mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-31 10:47:33 +08:00
merge branch merge-from-video
This commit is contained in:
@@ -65,6 +65,10 @@ func LoadTestCases(tests ...ITestCase) ([]*TestCase, error) {
|
||||
}
|
||||
}
|
||||
|
||||
if len(testCases) < 1 {
|
||||
return nil, errors.New("test case count less than 1 or parse error")
|
||||
}
|
||||
|
||||
log.Info().Int("count", len(testCases)).Msg("load testcases successfully")
|
||||
return testCases, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user