-
go to 'api-tests' folder
$cd api-tests
-
choose ENV and run test cases:
NODE_ENV=BOS npm run BOS
NODE_ENV=Xendit npm run Xendit
-
console will print api request and response log
-
when finished, will generate json and xml report in local folder, you can open it via browser and view the result report
Json and xml report files are saved in folder api-tests/results, you can clean this folder by run:
$npm run clean