https://github.com/codewithmmak/api-testing-protractor-typescript
This is sample REST API Automation framework designed using request npm, Protractor, Jasmine, and TypeScript
https://github.com/codewithmmak/api-testing-protractor-typescript
api-testing-framework nodejs protractor request typescript
Last synced: 7 months ago
JSON representation
This is sample REST API Automation framework designed using request npm, Protractor, Jasmine, and TypeScript
- Host: GitHub
- URL: https://github.com/codewithmmak/api-testing-protractor-typescript
- Owner: codewithmmak
- License: mit
- Created: 2018-12-18T18:28:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-23T06:55:27.000Z (7 months ago)
- Last Synced: 2024-11-23T07:27:31.346Z (7 months ago)
- Topics: api-testing-framework, nodejs, protractor, request, typescript
- Language: TypeScript
- Homepage:
- Size: 203 KB
- Stars: 8
- Watchers: 2
- Forks: 5
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# API Testing using Request node module, Protractor, Jasmine and Typescript Setup Guide
This API Test Automation framework is designed using Request node module, Protractor, Jasmine and TypeScript## Framework Structure
```
├───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
```## To Get Started
### Pre-requisites
* Download and install Chrome or Firefox browser.
* Download and install Node.js
* Optional - Download and install any Text Editor like Visual Code/Sublime/Brackets### Setup Scripts
* 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.### How to write Test
* Add new spec under test-suite folder
* Name the file as .spec.ts (e.g. get-user.spec.ts)### How to Run Test
* Run complete Test Suite: `npm test`### How to Update local npm packages
* Go to Project root directory and run command: `npm update`### Sample Test Results

## :thought_balloon: Checkout the blogs related to Software Testing on my [website]
[website]: https://www.codewithmmak.com/