Skip to content

Latest commit

 

History

History

allure-docker-nodejs-typescript-mocha-example

NODEJS TYPESCRIPT MOCHA DEMO PROJECT USING ALLURE

INSTALLATION

npm -version
  • Check NodeJS version
node -v
  • Go to project
  • Install dependencies
 npm install

USAGE

Execute Allure Docker Service from this directory

docker-compose up -d allure allure-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 like rm. We recommend you to install Git 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: