mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-09 09:49:33 +08:00
refactor: NewCaseRunner
This commit is contained in:
@@ -80,7 +80,7 @@ func (s *StepTestCaseWithOptionalArgs) Run(r *SessionRunner) (stepResult *StepRe
|
||||
// merge & override extractors
|
||||
config.Export = mergeSlices(s.StepExport, config.Export)
|
||||
|
||||
caseRunner, err := r.caseRunner.hrpRunner.NewCaseRunner(*copiedTestCase)
|
||||
caseRunner, err := NewCaseRunner(*copiedTestCase, r.caseRunner.hrpRunner)
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("create case runner failed")
|
||||
return stepResult, err
|
||||
|
||||
Reference in New Issue
Block a user