feat: support run testcases in specified folder path #1198

This commit is contained in:
debugtalk
2022-03-28 18:12:51 +08:00
parent 205657588e
commit 1e91b8cb0f
7 changed files with 121 additions and 17 deletions

View File

@@ -26,7 +26,7 @@ jobs:
- name: Run start project
run: ./output/hrp startproject demo
- name: Run generated demo tests
run: ./output/hrp run demo/testcases/demo_with_funplugin.json demo/testcases/demo_requests.yml demo/testcases/demo_ref_testcase.yml
run: ./output/hrp run demo/testcases/
- name: Run demo in examples
run: |
./output/hrp run examples/demo-with-py-plugin/testcases/demo_with_funplugin.json
@@ -51,7 +51,7 @@ jobs:
- name: Run start project
run: ./output/hrp startproject demo --go
- name: Run generated demo tests
run: ./output/hrp run demo/testcases/demo_with_funplugin.json demo/testcases/demo_requests.yml demo/testcases/demo_ref_testcase.yml
run: ./output/hrp run demo/testcases/
- name: Run demo in examples
run: |
go build -o examples/demo-with-go-plugin/debugtalk.bin examples/demo-with-go-plugin/plugin/debugtalk.go