Updates guides/api-testing-ci-environment.md

Auto commit by GitBook Editor
This commit is contained in:
apidesigner
2017-05-26 12:36:32 +00:00
parent f4628b04cc
commit 592a96dba7

View File

@@ -84,6 +84,14 @@ With all of the above (`APIARY_API_KEY`, `APIARY_API_NAME`, `API_HOST`, set up a
$ dredd swagger.yaml $HOST -r apiary
```
The Dredd will perform the tests and exits normally if the tests has passed. You can check the test result as with any other Unix tools with:
```
$ echo $?
```
Everything else but `0` should break the build. The test results will be visible in the CLI (log) as well as in Apiary.