GitBook: [master] 4 pages and 2 assets modified

This commit is contained in:
Grzegorz Leoniec 2018-11-16 11:42:58 +00:00 committed by gitbook-bot
parent f104f79f8d
commit ea246e7932
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
5 changed files with 36 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 KiB

View File

@ -22,7 +22,8 @@
## Workflow
* [Testing](integration-tests/testing.md)
* [Testing](integration-tests/testing/README.md)
* [Integration Testing](integration-tests/testing/integration-testing.md)
* [Pull-Requests](integration-tests/pull-requests.md)
* [Deployment](integration-tests/deployment.md)

View File

@ -0,0 +1,34 @@
---
description: >-
Here you can find information on how we are testing the whole application
automaicaly.
---
# Integration Testing
## Install Cypress
Before we start, first install [Cypress](https://www.cypress.io/) on your dev machine.
```bash
$ yarn global add cypress
```
### Run Tests
To run the tests, open the directory of our Nitro Frontend in your console and run following command:
```bash
$ cypress run
```
![Console output after running cypress test](../../.gitbook/assets/grafik%20%281%29.png)
After the test run, you will get also some video footage of the test run which you can then analyse in more detail.
### Open Interactive Test Console
If you are like me, you might want to see some visual output. The interactive cypress environment also helps at debugging your tests, you can even time travel between individual steps and see the exact state of the app.
![Interactive Cypress Environment](../../.gitbook/assets/grafik%20%282%29.png)