What is SuperTest?
Who uses SuperTest?
Here are some stack decisions, common use cases and reviews by companies and developers who chose SuperTest in their tech stack.
Needs advice on code coverage tool in Node.js/ExpressJS with External API Testing Framework
Hello community,
I have a web application with the backend developed using Node.js and Express.js. The backend server is in one directory, and I have a separate API testing framework, made using SuperTest, Mocha, and Chai, in another directory. The testing framework pings the API, retrieves responses, and performs validations.
I'm currently looking for a code coverage tool that can accurately measure the code coverage of my backend code when triggered by the API testing framework. I've tried using Istanbul and NYC with instrumented code, but the results are not as expected.
Could you please recommend a reliable code coverage tool or suggest an approach to effectively measure the code coverage of my Node.js/Express.js backend code in this setup?
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