mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-21 16:23:16 +08:00
refactor: runner api
This commit is contained in:
@@ -77,7 +77,7 @@ func TestRunRequestRun(t *testing.T) {
|
||||
config := &TConfig{
|
||||
BaseURL: "https://postman-echo.com",
|
||||
}
|
||||
runner := NewRunner().SetDebug(true).WithTestingT(t)
|
||||
runner := NewRunner(t).SetDebug(true)
|
||||
if _, err := runner.runStep(stepGET, config); err != nil {
|
||||
t.Fatalf("tStep.Run() error: %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user