-
Install npm
npm install npm -g
-
Install Chakram
npm install chakram -- save –dev
-
Install Mocha
npm install -g mocha
-
To run tests: mocha path to tests
ex: mocha ../test/Tests/XXX.js
- The Data folder will contain js files where all the test data that is required for a test will be present in that folder.
- The Tests folder will contain tests.
- The Utils folder will contain the environment details file where we can add the common data that is required for all the tests