Skip to content
Update Testing Guide authored by Julian Rausch's avatar Julian Rausch
......@@ -51,6 +51,27 @@ For "legacy" tests (JUnit), the development team agreed on the following naming
- Unit tests (classes under ```test```) SHOULD end in "UnitTests".
- Integration tests (classes under ```integration-test```) SHOULD end in "Tests".
E2E with Cypress
----------------------------------------------------
### Getting Started ###
For starting Cypress Tests a cypress.env.json file is needed. This file should contain the following:
```
{
"operator_username": "otp",
"operator_password": "otp"
}
```
To define an individual baseUrl use the following command:
```export CYPRESS_BASE_URL=https://localhost:8080```
All Cypress tests can be run with ```npm run cy:run```
For Individual testing and to use the gui run the command ```npm run cy:open```
Unit Testing (With Fake Objects)
--------------------------------
......
......