Express API Testing

This page summarizes the projects mentioned and recommended in the original post on /r/node

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. supertest

    🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.

    Supertest is quite popular and easy to use test tool, you can do integration and E2E test as well, you just need to pass it the server instance or a string to make a request and assert over the response.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. nodejs-testing-best-practices

    Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (April 2025)

  4. ava

    Node.js test runner that lets you develop with confidence 🚀

    Last but not least important are ava, uvu and tape; they are a really light and fast test runners.

  5. vitest

    Next generation testing framework powered by Vite.

    Vitest is a close competitor to Jest, it's faster and younger than jest, and it use vite under the hood to work, so for pure Node.js apps (100% backend) could have some caveats with ES modules.

  6. uvu

    uvu is an extremely fast and lightweight test runner for Node.js and the browser

    Last but not least important are ava, uvu and tape; they are a really light and fast test runners.

  7. tape

    tap-producing test harness for node and browsers

    Last but not least important are ava, uvu and tape; they are a really light and fast test runners.

  8. Sinon.JS

    Test spies, stubs and mocks for JavaScript.

    Mocha is a test runner, Chai is an assertion library, Sinon is a mocking library, this normally the combination you would need to use if you choose mocha, but there are others.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. pactum

    REST API Testing Tool for all levels in a Test Pyramid

    Pactum is quite powerful allowing different kind of E2E tests, you pass the base URL to make a request and assert over the response, it has more assertion functions than supertest and also supports GraphQL

  11. chai-http

    HTTP Response assertions for the Chai Assertion Library.

    chai-http adds the capability to make HTTP requests to Chai while keep using the assertion functions from Chai

  12. fakeshop-api

    Minimal API RESTful with MongoDB and tested with Jest

    Integration test with jest and supertest E2E test with jest and Pactum

  13. mocha

    ☕️ simple, flexible, fun javascript test framework for node.js & the browser

    Mocha is a test runner, Chai is an assertion library, Sinon is a mocking library, this normally the combination you would need to use if you choose mocha, but there are others.

  14. nest-api-example

    Example of an Restful API with Nest.js and TypeORM

    Integration test with jest and supertest E2E test with jest and Pactum

  15. jest

    Delightful JavaScript Testing.

    Jest is a test framework because it already includes the test runner, assertion and mocking functions, it's quite popular because you don't need to wire anything to start executing tests, but it has some caveats

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • From Requests to Reports: Clean Logging in API Testing

    4 projects | dev.to | 4 May 2025
  • How to start an Open Source project. Building RESO API JS client

    4 projects | dev.to | 14 May 2024
  • Painless CLI integration testing

    7 projects | dev.to | 10 Jan 2024
  • Dissecting the hell that is Jest setup with ESM and Typescript

    2 projects | dev.to | 31 Dec 2023
  • Using Node.js for Automated Testing with Headless Browsers

    6 projects | dev.to | 11 Sep 2023

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?