Suggest a tool

supertest

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What supertest is

supertest is a JavaScript library for HTTP assertions built on superagent. It offers a high-level abstraction for HTTP testing while keeping the lower-level superagent API available. It accepts an http.Server or a function and binds it to an ephemeral port when it is not already listening. It works with any test framework or without one. Chained expect calls assert status codes, headers and body content. Tests can use callbacks, promises or async/await. An agent persists cookies across requests, and an option enables HTTP/2.

Written from the project's README, read .

Category
API testing
License
MIT
Language
JavaScript
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars14,4041
Forks7831
Open issues and PRs01
Contributors1071
Commits in the last 90 days161
Last commit2026-09-221
Last releasev7.3.0, 2026-09-221
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed API testing tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from supertest's, with its source.

Comparisons

How to install

npm install supertest --save-dev
From README, read .

Questions

Is supertest open source?

Yes. supertest is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is supertest maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-22, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does supertest have?

14,404 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is supertest written in?

The repository's primary language, as reported by the GitHub API, is JavaScript.

How do I install supertest?

The README gives this command: npm install supertest --save-dev

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read