mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
change: update docs
This commit is contained in:
+1
-1
@@ -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]
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
@@ -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" {
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user