{"id":21480452,"url":"https://github.com/codewithmmak/api-testing-pactumjs-mocha-javascript","last_synced_at":"2026-02-27T19:13:56.406Z","repository":{"id":104379091,"uuid":"579638608","full_name":"codewithmmak/api-testing-pactumjs-mocha-javascript","owner":"codewithmmak","description":"API Testing using PactumJS Mocha and JavaScript","archived":false,"fork":false,"pushed_at":"2026-02-05T22:34:42.000Z","size":193,"stargazers_count":5,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-06T08:45:31.627Z","etag":null,"topics":["api-testing-framework"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewithmmak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-18T11:28:51.000Z","updated_at":"2023-08-12T20:03:03.000Z","dependencies_parsed_at":"2023-10-16T08:28:45.142Z","dependency_job_id":"a3f1a0fb-0dae-4dd3-b904-161560a7040d","html_url":"https://github.com/codewithmmak/api-testing-pactumjs-mocha-javascript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codewithmmak/api-testing-pactumjs-mocha-javascript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fapi-testing-pactumjs-mocha-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fapi-testing-pactumjs-mocha-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fapi-testing-pactumjs-mocha-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fapi-testing-pactumjs-mocha-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithmmak","download_url":"https://codeload.github.com/codewithmmak/api-testing-pactumjs-mocha-javascript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fapi-testing-pactumjs-mocha-javascript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29909394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T17:28:36.873Z","status":"ssl_error","status_checked_at":"2026-02-27T17:28:20.970Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-testing-framework"],"created_at":"2024-11-23T12:15:10.983Z","updated_at":"2026-02-27T19:13:56.388Z","avatar_url":"https://github.com/codewithmmak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n# API Testing using PactumJS MochaJS and JavaScript\n---\n\n## Getting started\n\n### Pre-requisites\n* Download and install Node.js\n* Download and install any Text Editor like Visual Code/Sublime/Brackets\n\n### Setup Visual Code\n* Install GitLens Extension from the Marketplace: `GitLens — Git supercharged by GitKraken`\n* Install vscode-icons from the Marketplace: `vscode-icons`\n* Go to Visual Code Preference \u003e Setting and search `formatOnSave` and enable/ON it.\n\n### Setup Scripts \n* Clone the repository into a folder\n* Go to Project root directory and install Dependency: `npm install`\n* All the dependencies from package.json would be installed in node_modules folder.\n\n### How to Run Test\n* Go to Project root directory and run command: `npm test`\n\n### How to view HTML report\n* Go to Project root directory: `./mochawesome-report/mochawesome.html`\n\n### Sample Test Results\n![API Testing using PactumJS, MochaJS, and JavaScript Test Report](./assets/test-results-console.PNG?raw=true \"API Testing using PactumJS, MochaJS, and JavaScript Test Report\")\n\n![API Testing using PactumJS, MochaJS, and JavaScript Test Report](./assets/test-results.png?raw=true \"API Testing using PactumJS, MochaJS, and JavaScript Test Report\")\n\n![API Testing using PactumJS, MochaJS, and JavaScript Test Report Expanded View](./assets/test-results.png?raw=true \"API Testing using PactumJS, MochaJS, and JavaScript Test Report Expanded View\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmmak%2Fapi-testing-pactumjs-mocha-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithmmak%2Fapi-testing-pactumjs-mocha-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmmak%2Fapi-testing-pactumjs-mocha-javascript/lists"}