feat: add hrp.Run wrapper

This commit is contained in:
lilong.129
2023-06-06 20:38:43 +08:00
parent b3a832fdf0
commit f3e5f3ac85
14 changed files with 31 additions and 44 deletions

View File

@@ -102,8 +102,7 @@ func TestIOSDouyinWorldCupLive(t *testing.T) {
},
}
runner := hrp.NewRunner(t).SetSaveTests(true)
err := runner.Run(testCase)
err := hrp.Run(t, testCase)
if err != nil {
t.Fatal(err)
}