Update to cypress.md and package.json

This commit is contained in:
daniel.motzko
2021-06-28 13:14:01 +02:00
parent 314d1171f2
commit 688c036690
3 changed files with 14 additions and 6 deletions

View File

@@ -13,9 +13,6 @@
"dependencies": { "dependencies": {
"aoe_technology_radar": "https://github.com/aoepeople/aoe_technology_radar.git" "aoe_technology_radar": "https://github.com/aoepeople/aoe_technology_radar.git"
}, },
"engines": {
"node": "~15.9"
},
"browserslist": { "browserslist": {
"production": [ "production": [
">0.2%", ">0.2%",

View File

@@ -4,7 +4,7 @@ ring: assess
quadrant: tools quadrant: tools
--- ---
[Cypress](https://www.cypress.io/) is a new front-end testing tool (end2end). It comes as a simple node package and is therefore easy to use and maintain for front-end developers and testers. Cypress has a different approach than selenium, it runs in the browser and in the same loop as the device under test. [Cypress](https://www.cypress.io/) is a new front-end testing tool (E2E). It comes as a simple node package and is therefore easy to use and maintain for front-end developers and testers. Cypress has a different approach than Selenium. It runs in the browser and in the same loop as the device under test.
Good: Good:
@@ -12,11 +12,11 @@ Good:
* [Locally installed](https://docs.cypress.io/guides/getting-started/installing-cypress.html#System-requirements) * [Locally installed](https://docs.cypress.io/guides/getting-started/installing-cypress.html#System-requirements)
* Straightforward (installed via npm and all tests are written in Javascript) * Straightforward (installed via npm and all tests are written in Javascript)
* Good [documentation](https://docs.cypress.io/guides/overview/why-cypress.html#In-a-nutshell) and learning material * Good [documentation](https://docs.cypress.io/guides/overview/why-cypress.html#In-a-nutshell) and learning material
* Can be run in a [headless mode](https://docs.cypress.io/guides/guides/command-line.html#cypress-run) * Can run in a [headless mode](https://docs.cypress.io/guides/guides/command-line.html#cypress-run)
Not so good: Not so good:
* No cross-browser testing (only chrome and electron) * No cross browser testing (only Chrome and Electron)
* Scenarios with multiple browser tabs can not be tested * Scenarios with multiple browser tabs can not be tested
* Relatively new test tool, though it is becoming more popular * Relatively new test tool, though it is becoming more popular

View File

@@ -0,0 +1,11 @@
---
title: "Cypress"
ring: adopt
quadrant: tools
---
Cypress has proven itself in AOE projects.
With its support for JavaScript and TypeScript, Cypress is a testing tool that strongly relates to front-end developers.
It is very easy to adopt, and the test specifications are easy to implement and to maintain.
Test execution is very fast, and the results are well documented, understandable and easy to publish, e.g. via GitLab Pages.
It currently supports Chrome, Firefox and Electron.