This API Test Automation framework is designed using Request node module, Protractor, Jasmine and TypeScript
├───images # This folder contains sample report image
├───temp # This folder contains JS file which are generated after compiling TypeScript files
├───test-results # This folder contains test result (includes html report and screenshots)
└───test-suites # This folder contains spec/test files
- Download and install Chrome or Firefox browser.
- Download and install Node.js
- Optional - Download and install any Text Editor like Visual Code/Sublime/Brackets
- Clone the repository into a folder
- Go to Project root directory and install Dependency:
npm install
- All the dependencies from package.json and ambient typings would be installed in node_modules folder.
- Add new spec under test-suite folder
- Name the file as .spec.ts (e.g. get-user.spec.ts)
- Run complete Test Suite:
npm test
- Go to Project root directory and run command:
npm update