What is SuperTest?
It is a super-agent driven library for testing node.js HTTP servers using a fluent API. It provides a high-level abstraction for testing HTTP, while still allowing you to drop down to the lower-level API provided by superagent.
SuperTest is a tool in the Javascript Testing Framework category of a tech stack.
SuperTest is an open source tool with GitHub stars and GitHub forks. Here’s a link to SuperTest's open source repository on GitHub
Who uses SuperTest?
Companies
25 companies reportedly use SuperTest in their tech stacks, including FASHION CLOUD, Brainhub, and Tipoff.
Developers
115 developers on StackShare have stated that they use SuperTest.
Decisions about SuperTest
Here are some stack decisions, common use cases and reviews by companies and developers who chose SuperTest in their tech stack.
Madhav Jethwa
hello, I have started with Postman and SuperTest,, however I feel like both does a similar task, so please if anyone can advice me regarding what to choose for learning advanced content from both and what makes them different
SuperTest's Features
- HTTP assertions
- Asynchronous
- Promise support
SuperTest Alternatives & Comparisons
What are some alternatives to SuperTest?
Chai
It is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. It has several interfaces that allow the developer to choose the most comfortable. The chain-capable BDD styles provide an expressive language & readable style, while the TDD assert style provides a more classical feel.
jsdom
It is a pure-JavaScript implementation of many web standards, notably the WHATWG DOM and HTML Standards, for use with Node.js. In general, the goal of the project is to emulate enough of a subset of a web browser to be useful for testing and scraping real-world web applications.
Jest
Jest provides you with multiple layers on top of Jasmine.
axios
It is a Javascript library used to make http requests from node.js or XMLHttpRequests from the browser and it supports the Promise API that is native to JS ES6.
Postman
It is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.