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

@@ -32,7 +32,7 @@ func TestHttpRunner(t *testing.T) {
}
testcase3 := &TestCasePath{demoTestCaseJSONPath}
err := Run(t, testcase1, testcase2, testcase3)
err := NewRunner(t).Run(testcase1, testcase2, testcase3)
if err != nil {
t.Fatalf("run testcase error: %v", err)
}