{"repo":"pactumjs/pactum","free":true,"listed":false,"github":"https://github.com/pactumjs/pactum","clone":"git clone https://github.com/pactumjs/pactum.git","description":"REST API Testing Tool for all levels in a Test Pyramid","language":"JavaScript","stars":618,"topics":["testing","bdd","cucumber","javascript","nodejs","pactum","pactumjs","api-testing","e2e-testing","integration-testing"],"license":"MIT","category":"dev-tools","readme_excerpt":"PactumJS REST API Testing Tool for all levels in a Test Pyramid PactumJS is a REST API Testing Tool used to automate e2e, integration, contract & component ( or service level ) tests. - ⚡ Swift - 🎈 Lightweight - 🚀 Simple & Powerful - 🛠️ Compelling Mock Server - 💎 Elegant Data Management - 🔧 Extendable & Customizable - 📚 Clear & Comprehensive Testing Style - 🔗 Component, Contract & E2E testing of APIs Documentation This readme offers an basic introduction to the library. Head over to the full documentation at https://pactumjs.github.io - API Testing - Integration Testing - Component Testing - Contract Testing - E2E Testing - Mock Server Need Help We use Github Discussions to receive feedback, discuss ideas & answer questions. Installation or you can simply use Usage pactum can be used for all levels of testing in a test pyramid. It can also act as an standalone mock server to generate contracts for contract testing. API Testing Tests in pactum are clear and comprehensive. It uses numerous descriptive methods to build your requests and expectations. Simple Test Cases Using Mocha Running simple api test expectations. Using Cucumber See pactum-cucumber-boilerplate for more details on pactum & cucumber integration. Mock Server pactum can act as a standalone mock server that allows us to mock any server via HTTP or HTTPS, such as a REST endpoint. Simply it is a simulator for HTTP-based APIs. Running pactum as a standalone mock server . Notes Inspired from frisby and pact. Su","default_branch":null,"files":null,"tree":[],"storefront":"/r/pactumjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pactumjs/pactum/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}