change: update docs

This commit is contained in:
debugtalk
2022-04-22 20:34:04 +08:00
parent 44276b6901
commit dfae6b0a59
7 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ monitoring (DEM) test types. Enjoy! ✨ 🚀 ✨
License: Apache-2.0 License: Apache-2.0
Website: https://httprunner.com Website: https://httprunner.com
Github: https://github.com/httprunner/httprunner Github: https://github.com/httprunner/httprunner
Copyright 2021 debugtalk Copyright 2017 debugtalk
Usage: Usage:
hrp [command] hrp [command]
+1 -1
View File
@@ -76,7 +76,7 @@ monitoring (DEM) test types. Enjoy! ✨ 🚀 ✨
License: Apache-2.0 License: Apache-2.0
Website: https://httprunner.com Website: https://httprunner.com
Github: https://github.com/httprunner/httprunner Github: https://github.com/httprunner/httprunner
Copyright 2021 debugtalk Copyright 2017 debugtalk
Usage: Usage:
hrp [command] hrp [command]
+2
View File
@@ -6,6 +6,7 @@
- refactor: redesign `IStep` to make step extensible to support implementing new protocols and test types - refactor: redesign `IStep` to make step extensible to support implementing new protocols and test types
- feat: disable GA events report by setting environment `DISABLE_GA=true` - feat: disable GA events report by setting environment `DISABLE_GA=true`
- feat: disable sentry reports by setting environment `DISABLE_SENTRY=true` - feat: disable sentry reports by setting environment `DISABLE_SENTRY=true`
- feat: prepare python3 venv in `~/.hrp/venv` before running
**go version** **go version**
@@ -13,6 +14,7 @@
- feat: support run testcases in specified folder path, including testcases in sub folders - feat: support run testcases in specified folder path, including testcases in sub folders
- feat: support HTTP/2 protocol - feat: support HTTP/2 protocol
- feat: support WebSocket protocol - feat: support WebSocket protocol
- feat: convert YAML/JSON testcases to pytest scripts with `hrp convert`
- change: integrate [sentry sdk][sentry sdk] for panic reporting and analysis - change: integrate [sentry sdk][sentry sdk] for panic reporting and analysis
- change: lock funplugin version when creating scaffold project - change: lock funplugin version when creating scaffold project
- fix: call referenced api/testcase with relative path - fix: call referenced api/testcase with relative path
+1 -1
View File
@@ -19,7 +19,7 @@ monitoring (DEM) test types. Enjoy! ✨ 🚀 ✨
License: Apache-2.0 License: Apache-2.0
Website: https://httprunner.com Website: https://httprunner.com
Github: https://github.com/httprunner/httprunner Github: https://github.com/httprunner/httprunner
Copyright 2021 debugtalk Copyright 2017 debugtalk
### Options ### Options
+1 -1
View File
@@ -9,7 +9,7 @@ hrp convert $path... [flags]
### Options ### Options
``` ```
--gotest convert to gotest scripts --gotest convert to gotest scripts (TODO)
-h, --help help for convert -h, --help help for convert
--pytest convert to pytest scripts (default true) --pytest convert to pytest scripts (default true)
``` ```
+1 -1
View File
@@ -31,7 +31,7 @@ monitoring (DEM) test types. Enjoy! ✨ 🚀 ✨
License: Apache-2.0 License: Apache-2.0
Website: https://httprunner.com Website: https://httprunner.com
Github: https://github.com/httprunner/httprunner Github: https://github.com/httprunner/httprunner
Copyright 2021 debugtalk`, Copyright 2017 debugtalk`,
PersistentPreRun: func(cmd *cobra.Command, args []string) { PersistentPreRun: func(cmd *cobra.Command, args []string) {
var noColor = false var noColor = false
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
+2 -2
View File
@@ -301,13 +301,13 @@ from httprunner.utils import get_platform, ExtendJSONEncoder
@pytest.fixture(scope="session", autouse=True) @pytest.fixture(scope="session", autouse=True)
def session_fixture(request): def session_fixture(request):
"""setup and teardown each task""" """setup and teardown each task"""
logger.info(f"start running testcases ...") logger.info("start running testcases ...")
start_at = time.time() start_at = time.time()
yield yield
logger.info(f"task finished, generate task summary for --save-tests") logger.info("task finished, generate task summary for --save-tests")
summary = { summary = {
"success": True, "success": True,