refactor: runner api

This commit is contained in:
debugtalk
2021-11-11 16:23:30 +08:00
parent c16fad8905
commit 00284ff610
15 changed files with 28 additions and 30 deletions

View File

@@ -47,7 +47,7 @@ func (b *Boomer) Run(testcases ...ITestCase) {
}
func (b *Boomer) convertBoomerTask(testcase *TestCase) *boomer.Task {
runner := NewRunner().SetDebug(b.debug)
runner := NewRunner(nil).SetDebug(b.debug)
return &boomer.Task{
Name: testcase.Config.Name,
Weight: testcase.Config.Weight,