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
@@ -51,8 +51,7 @@ func TestAndroidLiveSwipeTest(t *testing.T) {
t.Fatal(err)
}
runner := hrp.NewRunner(t).SetSaveTests(true)
err := runner.Run(testCase)
err := hrp.Run(t, testCase)
if err != nil {
t.Fatal(err)
}