Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sylhare/website-unit-test
https://github.com/sylhare/website-unit-test
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sylhare/website-unit-test
- Owner: sylhare
- Created: 2019-06-21T13:01:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T15:43:38.000Z (about 2 years ago)
- Last Synced: 2024-10-12T19:33:45.354Z (3 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cypress
Used for website testing. [Cypress in a nutshell](https://docs.cypress.io/guides/overview/why-cypress.html#In-a-nutshell)
## Tutorial
Follow the [Add a test](https://docs.cypress.io/guides/getting-started/writing-your-first-test.html#Add-a-test-file) tutorial on Cypress.
Check it out by running:
```js
npm run start
```It will run both cypress and the app.
If you want just the web app:```js
npm run app
```### Set up a simple web app
For that I used [express](https://expressjs.com/) which is a node web server.
You can follow this tutorial to get [started](https://expressjs.com/fr/starter/hello-world.html).### Tips
- Run two web app concurrently with node answer on [Stackoverflow](https://stackoverflow.com/a/35455532/7747942)