Getting Started with Angular
command | explanation |
---|---|
node --version |
Check Node version installed |
npm --version |
check npm version installed |
ng --version |
check Angular CLI version |
npm init --yes |
created package.json |
Key packages
command | explanation |
---|---|
- g |
global |
- i |
local to the folder |
npm install --save-dev newman |
install newman and save to dev dep |
npm install --save-dev newman-reporter-htmlextra |
install htmlExtra reportor and save to dev dep |
npm install --save-dev newman-reporter-html |
install html reportor and save to dev dep |
npm install --save-dev newman-reporter-confluence |
install confluence reportor and save to dev dep |
npm run test |
Run all Test scripts |
API documentation reference
- [https://restful-booker.herokuapp.com/apidoc/index.html#api-Booking]
- Refer the URL: [https://www.npmjs.com/package/newman]
Run Test
npm run test