mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Updates api-testing-with-dredd/api-testing-ci-environment.md
Auto commit by GitBook Editor
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
# Jenkins CI Environment for Apiary Project
|
||||
|
||||
This guide describes steps necessary for testing an API with Dredd in a CI Environment (Jenkins, TeamCity).
|
||||
|
||||
|
||||
1. The CI Environment MUST have a Node.js runtime:
|
||||
## Preparation
|
||||
1. The CI environment MUST have a Node.js runtime:
|
||||
|
||||
```
|
||||
$ node -v
|
||||
v7.5.0
|
||||
```
|
||||
|
||||
2. For the testing, [Dredd](https://github.com/apiaryio/dredd) MUST be installed globally:
|
||||
2. [Dredd](https://github.com/apiaryio/dredd) MUST be installed globally in the CI environment:
|
||||
|
||||
|
||||
```
|
||||
$ npm install -g dredd --no-optional
|
||||
|
||||
Reference in New Issue
Block a user