mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-14 13:27:36 +08:00
refactor: runner api
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user