https://github.com/codewithmmak/api-testing-pactumjs-mocha-javascript
API Testing using PactumJS Mocha and JavaScript
https://github.com/codewithmmak/api-testing-pactumjs-mocha-javascript
api-testing-framework
Last synced: 6 months ago
JSON representation
API Testing using PactumJS Mocha and JavaScript
- Host: GitHub
- URL: https://github.com/codewithmmak/api-testing-pactumjs-mocha-javascript
- Owner: codewithmmak
- License: mit
- Created: 2022-12-18T11:28:51.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-05-19T16:04:35.000Z (7 months ago)
- Last Synced: 2025-05-19T17:25:36.075Z (7 months ago)
- Topics: api-testing-framework
- Language: JavaScript
- Homepage:
- Size: 184 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
---
# API Testing using PactumJS MochaJS and JavaScript
---
## Getting started
### Pre-requisites
* Download and install Node.js
* Download and install any Text Editor like Visual Code/Sublime/Brackets
### Setup Visual Code
* Install GitLens Extension from the Marketplace: `GitLens — Git supercharged by GitKraken`
* Install vscode-icons from the Marketplace: `vscode-icons`
* Go to Visual Code Preference > Setting and search `formatOnSave` and enable/ON it.
### Setup Scripts
* Clone the repository into a folder
* Go to Project root directory and install Dependency: `npm install`
* All the dependencies from package.json would be installed in node_modules folder.
### How to Run Test
* Go to Project root directory and run command: `npm test`
### How to view HTML report
* Go to Project root directory: `./mochawesome-report/mochawesome.html`
### Sample Test Results


