mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
udpate
This commit is contained in:
@@ -83,10 +83,13 @@ With [`jenkins-mail-py`][jenkins-mail-py] installed, you can see more optional a
|
|||||||
```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]
|
||||||
[--failfast] [--mailgun-api-id MAILGUN_API_ID]
|
[--failfast] [--startproject STARTPROJECT]
|
||||||
[--mailgun-api-key MAILGUN_API_KEY] [--email-sender EMAIL_SENDER]
|
[--mailgun-smtp-username MAILGUN_SMTP_USERNAME]
|
||||||
[--email-recepients EMAIL_RECEPIENTS] [--mail-subject MAIL_SUBJECT]
|
[--mailgun-smtp-password MAILGUN_SMTP_PASSWORD]
|
||||||
[--mail-content MAIL_CONTENT] [--jenkins-job-name JENKINS_JOB_NAME]
|
[--mail-sender MAIL_SENDER]
|
||||||
|
[--mail-recepients [MAIL_RECEPIENTS [MAIL_RECEPIENTS ...]]]
|
||||||
|
[--mail-subject MAIL_SUBJECT] [--mail-content MAIL_CONTENT]
|
||||||
|
[--jenkins-job-name JENKINS_JOB_NAME]
|
||||||
[--jenkins-job-url JENKINS_JOB_URL]
|
[--jenkins-job-url JENKINS_JOB_URL]
|
||||||
[--jenkins-build-number JENKINS_BUILD_NUMBER]
|
[--jenkins-build-number JENKINS_BUILD_NUMBER]
|
||||||
[testset_paths [testset_paths ...]]
|
[testset_paths [testset_paths ...]]
|
||||||
@@ -104,13 +107,15 @@ optional arguments:
|
|||||||
--report-name REPORT_NAME
|
--report-name REPORT_NAME
|
||||||
Specify report name, default is generated time.
|
Specify report name, default is generated time.
|
||||||
--failfast Stop the test run on the first error or failure.
|
--failfast Stop the test run on the first error or failure.
|
||||||
--mailgun-api-id MAILGUN_API_ID
|
--startproject STARTPROJECT
|
||||||
Specify mailgun api id.
|
Specify new project name.
|
||||||
--mailgun-api-key MAILGUN_API_KEY
|
--mailgun-smtp-username MAILGUN_SMTP_USERNAME
|
||||||
Specify mailgun api key.
|
Specify mailgun smtp username.
|
||||||
--email-sender EMAIL_SENDER
|
--mailgun-smtp-password MAILGUN_SMTP_PASSWORD
|
||||||
|
Specify mailgun smtp password.
|
||||||
|
--mail-sender MAIL_SENDER
|
||||||
Specify email sender.
|
Specify email sender.
|
||||||
--email-recepients EMAIL_RECEPIENTS
|
--mail-recepients [MAIL_RECEPIENTS [MAIL_RECEPIENTS ...]]
|
||||||
Specify email recepients.
|
Specify email recepients.
|
||||||
--mail-subject MAIL_SUBJECT
|
--mail-subject MAIL_SUBJECT
|
||||||
Specify email subject.
|
Specify email subject.
|
||||||
@@ -207,8 +212,8 @@ When you do continuous integration test or production environment monitoring wit
|
|||||||
|
|
||||||
```text
|
```text
|
||||||
$ ate filepath/testcase.yml --report-name ${BUILD_NUMBER} \
|
$ ate filepath/testcase.yml --report-name ${BUILD_NUMBER} \
|
||||||
--mailgun-api-id samples.mailgun.org \
|
--mailgun-smtp-username "qa@debugtalk.com" \
|
||||||
--mailgun-api-key key-3ax6xnjp29jd6fds4gc373sgvjxteol0 \
|
--mailgun-smtp-password "12345678" \
|
||||||
--email-sender excited@samples.mailgun.org \
|
--email-sender excited@samples.mailgun.org \
|
||||||
--email-recepients ${MAIL_RECEPIENTS} \
|
--email-recepients ${MAIL_RECEPIENTS} \
|
||||||
--jenkins-job-name ${JOB_NAME} \
|
--jenkins-job-name ${JOB_NAME} \
|
||||||
|
|||||||
Reference in New Issue
Block a user