Just-API is a declarative, specification-based API test framework for REST and GraphQL APIs. Users define tests in YAML files without writing code, but can extend with custom JavaScript functions. The current stable version is 1.2.5. It supports parallel/serial execution, hooks, chained requests, retries, and multiple report formats (HTML, JSON). Unlike code-heavy frameworks like Mocha or Supertest, Just-API emphasizes a spec-driven approach for rapid test creation and maintenance.
npm install just-apiNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a YAML test suite file and run it with just-api CLI.
Use custom JavaScript function with your own HTTP client
Upgrade Node.js to v10+
Avoid YAML anchors in spec files
Run `npm install --save-dev just-api` and ensure node_modules is present
Use `npx just-api` or `./node_modules/.bin/just-api`