supertest

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

Supertest Alternatives

Similar projects and alternatives to supertest

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better supertest alternative or higher similarity.

supertest reviews and mentions

Posts with mentions or reviews of supertest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-07.
  • Express API Testing
    14 projects | /r/node | 7 Mar 2023
    Here in the issue you can see how people struggle with setting a header, it's objectively harder to make handy functions on top of supertest to perform authorized requests.
    14 projects | /r/node | 7 Mar 2023
    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.
  • How can I test an Express application through a terminal?
    3 projects | /r/learnjavascript | 16 Dec 2022
    If the latter, there are a bunch of different options for writing automated tests. One popular way is using Jest to run your tests. If you're trying to test the backend end-to-end flow, you could use Supertest to make requests and assert on the responses.
  • 🚀 NodeJS + Ts.ED + TypeScript + Clean Architecture Template
    14 projects | dev.to | 5 Oct 2022
    Unit, Integration and E2E tests using Jest and Supertest
  • Hi im having trouble building my api tests
    2 projects | /r/node | 19 Jul 2022
    Yes, but when every function handler is separate from the router, then you can use node-mocks-http to test each handler, to test the router is simpler to use supertest to write integration tests, for E2E tests I personally recommend [pactum](pactumjs.github.io/)
  • Booking Typescript API with Express, typeORM and Postgres
    7 projects | dev.to | 31 Mar 2022
    Simple booking api attempt with Typescript, Express, TypeORM and Postgres. Testing with Jest & Supertest.
  • Patterns and Anti-patterns in Node.js
    12 projects | dev.to | 15 Mar 2022
    In a Node.js application, writing API tests is a good start. They provide more coverage than unit testing. You can use frameworks like Supertest, Jest, or any other library that provides a high-level abstraction for testing APIs.
  • Testing Node.js/Express app + MongoDB with jest and supertest
    5 projects | dev.to | 15 Nov 2021
    supertest npm package that helps test HTTP
  • How to test APIs??
    8 projects | /r/commandline | 10 Nov 2021
    If you want to write integration tests - https://jestjs.io - https://github.com/visionmedia/supertest
  • Using uvu for TypeScript API Testing
    3 projects | dev.to | 6 Oct 2021
    SuperTest is helpful for testing the GraphQL endpoints. We can use it to send HTTP requests and make assertions on the responses. If you are working on a Fastify project, as we will see, you use inbuilt Fastify functionality and don't need to add supertest.
  • A note from our sponsor - SurveyJS
    surveyjs.io | 28 Mar 2024
    With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →

Stats

Basic supertest repo stats
20
13,510
4.4
about 1 month ago
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com