FindSoftware

SuperTest

Node.js library that tests HTTP servers with a fluent API of request and response assertions.

SuperTest tests Node.js HTTP servers by sending them requests and asserting on the responses, through a fluent API of request and response assertions. It is built on superagent, which the README names as the library it is driven by.

It is installed as a development dependency from npm. The README says it works with any test framework and shows examples with mocha.

Worth knowing

An expect() failure inside an end() callback does not throw. The README says the test has to rethrow the error or pass it to done to fail.

Identity

Status
Active
Maintainer
TJ Holowaychuk3
Maintained by
Individual3
First release
20126

Rendering and deploy

Install with
npm2

Releases

Current major version
75
Last release
2026-11-075

Adoption

GitHub stars
14,4121
npm downloads a week
25,263,4927
Contributors
929
Dependent repositories
416,4278
Dependent packages
19,3198

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, Runtime, License, GitHub stars
    api.github.com/repos/forwardemail/supertest
  2. 2026-11-16: links, Categories, Built on, Install with
    raw.githubusercontent.com/forwardemail/supertest/master/README.md
  3. 2026-11-16: Maintainer, Maintained by
    raw.githubusercontent.com/forwardemail/supertest/master/LICENSE
  4. 2026-11-16: Minimum runtime
    raw.githubusercontent.com/forwardemail/supertest/v7.3.2/package.json
  5. 2026-11-16: Current major version, Last release
    api.github.com/repos/forwardemail/supertest/releases
  6. 2026-11-16: First release
    registry.npmjs.org/supertest
  7. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/supertest
  8. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/supertest
  9. 2026-11-16: Contributors
    api.github.com/repos/forwardemail/supertest/contributors?per_page=1

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON