mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 03:30:01 +08:00
add hrun command short for httprunner
This commit is contained in:
@@ -32,18 +32,18 @@ This option works on each installation method described above. ::
|
|||||||
Check Installation
|
Check Installation
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
When HttpRunner is installed, a **httprunner** command should be available in your shell (if you're not using
|
When HttpRunner is installed, a **httprunner** (**hrun** for short) command should be available in your shell (if you're not using
|
||||||
virtualenv—which you should—make sure your python script directory is on your path).
|
virtualenv—which you should—make sure your python script directory is on your path).
|
||||||
|
|
||||||
To see ``HttpRunner`` version: ::
|
To see ``HttpRunner`` version: ::
|
||||||
|
|
||||||
$ httprunner -V
|
$ httprunner -V # same as: hrun -V
|
||||||
HttpRunner version: 0.8.1b
|
HttpRunner version: 0.8.1b
|
||||||
PyUnitReport version: 0.1.3b
|
PyUnitReport version: 0.1.3b
|
||||||
|
|
||||||
To see available options, run::
|
To see available options, run::
|
||||||
|
|
||||||
$ httprunner -h
|
$ httprunner -h # same as: hrun -h
|
||||||
usage: httprunner [-h] [-V] [--log-level LOG_LEVEL] [--report-name REPORT_NAME]
|
usage: httprunner [-h] [-V] [--log-level LOG_LEVEL] [--report-name REPORT_NAME]
|
||||||
[--failfast] [--startproject STARTPROJECT]
|
[--failfast] [--startproject STARTPROJECT]
|
||||||
[testset_paths [testset_paths ...]]
|
[testset_paths [testset_paths ...]]
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ setup(
|
|||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'ate=httprunner.cli:main_ate',
|
'ate=httprunner.cli:main_ate',
|
||||||
'httprunner=httprunner.cli:main_ate',
|
'httprunner=httprunner.cli:main_ate',
|
||||||
|
'hrun=httprunner.cli:main_ate',
|
||||||
'locusts=httprunner.cli:main_locust'
|
'locusts=httprunner.cli:main_locust'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user