{"library":"pactum","type":"library","category":null,"description":"PactumJS is a lightweight and powerful open-source REST API testing tool designed to automate various levels of API testing, including end-to-end (e2e), integration, contract, and component (service level) tests. It emphasizes a clear and comprehensive testing style, utilizing numerous descriptive methods for building requests and defining expectations. The current stable version is 3.9.1, with minor releases occurring frequently, demonstrating active development and maintenance. Key differentiators include its compelling built-in mock server, elegant data management capabilities for dynamic values, robust built-in JSON schema validation, and an extendable architecture. PactumJS supports various JavaScript test runners like Mocha, Jest, and Cucumber, making it adaptable to different testing frameworks and helping simplify complex API testing scenarios across the entire test pyramid.","language":"javascript","status":"active","version":"3.9.1","tags":["javascript","api","REST","automation","testing","component","service","contract","integration","typescript"],"install":[{"cmd":"npm install pactum","imports":["import { spec } from 'pactum'","import * as pactum from 'pactum'","import type { Spec } from 'pactum'"]},{"cmd":"yarn add pactum","imports":[]},{"cmd":"pnpm add pactum","imports":[]}],"homepage":"https://pactumjs.github.io","github":"https://github.com/pactumjs/pactum","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/pactum","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/pactum/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}