badhan-test
contains the automated API testing script written using Node.JS. The API being tested is currently the active backend for Badhan, BUET Zone Android app (https://play.google.com/store/apps/details?id=com.mmmbadhan) and Website (https://badhan-buet.web.app)
config
directory and paste config.js
inside it (Get the config.js
file from the system administrators) If you have Nodejs installed, you can run the test by following command
npm install
or npm i
npm run test
or npm t
To run only a single test file, you can use the following command
npm test -- <path to the test file>
.npm test -- signIn/success
or npm t -- signIn/success
in short.bin/install
bin/up
to run all tests at once in seriesbin/run npm run test $$specific_test$$
to run any specific test. (e.g. bin/run npm run test /tests/users/signIn/success.test.js
)