mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-30 12:59:39 +08:00
make jenkins-mail-py as extras_require
This commit is contained in:
35
README.md
35
README.md
@@ -38,11 +38,44 @@ To ensure the installation or upgrade is successful, you can execute command `at
|
|||||||
|
|
||||||
```text
|
```text
|
||||||
$ ate -V
|
$ ate -V
|
||||||
0.3.1
|
0.3.2
|
||||||
```
|
```
|
||||||
|
|
||||||
Execute the command `ate -h` to view command help.
|
Execute the command `ate -h` to view command help.
|
||||||
|
|
||||||
|
```text
|
||||||
|
ate -h
|
||||||
|
usage: ate [-h] [-V] [--log-level LOG_LEVEL] [--report-name REPORT_NAME]
|
||||||
|
[--failfast]
|
||||||
|
[testset_paths [testset_paths ...]]
|
||||||
|
|
||||||
|
Api Test Engine.
|
||||||
|
|
||||||
|
positional arguments:
|
||||||
|
testset_paths testset file path
|
||||||
|
|
||||||
|
optional arguments:
|
||||||
|
-h, --help show this help message and exit
|
||||||
|
-V, --version show version
|
||||||
|
--log-level LOG_LEVEL
|
||||||
|
Specify logging level, default is INFO.
|
||||||
|
--report-name REPORT_NAME
|
||||||
|
Specify report name, default is generated time.
|
||||||
|
--failfast Stop the test run on the first error or failure.
|
||||||
|
```
|
||||||
|
|
||||||
|
### use jenkins-mail-py addon
|
||||||
|
|
||||||
|
If you want to use `ApiTestEngine` with Jenkins, you may need to send mail notification, and[`jenkins-mail-py`][jenkins-mail-py] will be of great help.
|
||||||
|
|
||||||
|
To install mail helper, run this command in your terminal:
|
||||||
|
|
||||||
|
```text
|
||||||
|
$ pip install -U git+https://github.com/debugtalk/jenkins-mail-py.git#egg=jenkins-mail-py
|
||||||
|
```
|
||||||
|
|
||||||
|
With [`jenkins-mail-py`][jenkins-mail-py] installed, you can see more optional arguments.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
$ ate -h
|
$ ate -h
|
||||||
usage: ate [-h] [-V] [--log-level LOG_LEVEL] [--report-name REPORT_NAME]
|
usage: ate [-h] [-V] [--log-level LOG_LEVEL] [--report-name REPORT_NAME]
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = '0.3.1'
|
__version__ = '0.3.2'
|
||||||
8
setup.py
8
setup.py
@@ -27,9 +27,13 @@ setup(
|
|||||||
"PyYAML",
|
"PyYAML",
|
||||||
"coveralls",
|
"coveralls",
|
||||||
"coverage",
|
"coverage",
|
||||||
"PyUnitReport",
|
"PyUnitReport"
|
||||||
"jenkins-mail-py"
|
|
||||||
],
|
],
|
||||||
|
extras_require={
|
||||||
|
'mail': [
|
||||||
|
"jenkins-mail-py"
|
||||||
|
]
|
||||||
|
},
|
||||||
dependency_links=[
|
dependency_links=[
|
||||||
"git+https://github.com/debugtalk/PyUnitReport.git#egg=PyUnitReport-0",
|
"git+https://github.com/debugtalk/PyUnitReport.git#egg=PyUnitReport-0",
|
||||||
"git+https://github.com/debugtalk/jenkins-mail-py.git#egg=jenkins-mail-py-0"
|
"git+https://github.com/debugtalk/jenkins-mail-py.git#egg=jenkins-mail-py-0"
|
||||||
|
|||||||
Reference in New Issue
Block a user