C.2 Testing Tools
The following is a listing of some tools for automated testing with a focus on testing in JavaScript or Node.js:
-
Recommended tools for component testing are Jest (https://jestjs.io), Mocha (https://mochajs.org), and Jasmine (https://jasmine.github.io). In addition, these tools can also be used to perform integration tests. On the other hand, tools such as Supertest (https://github.com/visionmedia/supertest), which provide special helper functions for sending HTTP requests and checking the resulting HTTP responses, are ideal for testing web services.
-
For end-to-end tests, Selenium (https://www.selenium.dev), Puppeteer (https://pptr.dev), and Cypress (https://www.cypress.io) are suitable.
-
Compatibility tests can be performed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access