-
Download Node JS https://nodejs.org/en/download/
-
Check NPM version
npm -version
- Check NodeJS version
node -v
- Go to project
- Install dependencies
npm install
Execute Allure Docker Service from this directory
docker-compose up -d allure allure-ui
-
Verify if Allure API is working. Go to -> http://localhost:5050/allure-docker-service/latest-report
-
Verify if Allure UI is working. Go to -> http://localhost:5252/allure-docker-service-ui/
Each time you run tests, the Allure report will be updated. Execute tests:
npm run-script allure-test
NOTE FOR WINDOWS:
- There are some scripts using
Unix
commands likerm
. We recommend you to installGit Bash for Windows
https://git-scm.com/downloads, on that console you can run any unix command. Otherwise, adapt the script with commands for Windows.
See documentation here: