:white_check_mark: The Node.js best practices list (February 2021)
6. Node.js Best Practices (Optional but important)
Fast, easy and reliable testing for anything that runs in a browser.Project mention: Add testing to Vite | dev.to | 2021-02-23
While unit tests are good for checking smaller bits of code, end-to-end tests are really good at checking the application as a whole in the browser. Vue CLI comes with built-in support for Cypress, an end-to-end test runner. We'll also use Cypress for this purpose.
Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Node.js test runner that lets you develop with confidence 🚀Project mention: How to Become a Pro 😎 Front End Developer💻 | dev.to | 2020-10-08
-Jest -Enzyme -Sinon -Mocha -Chai -AVA -Tape
Afterward, it is better to scrutinize the compatibility notes in the Protractor README to make certain your Node.js version is perfectly compatible with this framework. However, by default, this framework uses Jasmine for its test interface.
🐐 Simple and complete React DOM testing utilities that encourage good testing practices.Project mention: Por qué usar Testing Library en lugar de Enzyme | dev.to | 2021-02-16
:see_no_evil: Volkswagen detects when your tests are being run in a CI server, and makes them pass.Project mention: Esther Duflo : "Il y aura d’autres catastrophes, notamment climatiques, si nous ne faisons pas un effort" | reddit.com/r/france | 2021-02-15
Bonus pour les dev.
End-to-end testing framework written in Node.js and using the Webdriver API
Gray box end-to-end testing and automation framework for mobile appsProject mention: The frontend tooling guide to improve Developer Experience | dev.to | 2021-02-22
Detox: Gray box end-to-end testing and automation framework for mobile apps.
Tape is a very lightweight test harness for Node. I don't believe it has any code coverage feature. I may ask them if there are separate NPM packages to measure code coverage that are compatible with Tape.
the Istanbul command line interface
Accessibility engine for automated Web UI testingProject mention: Creating a Fast ⚡ and Beautiful 🌼 Portfolio Website using HTML, CSS 🎨, Eleventy ⑪ and Netlify | dev.to | 2021-02-23
Use automated tools like Lighthouse, axe, and your browser's developer tools to find issues and errors early to ensure your site does not completely fail when it comes to speed, usability and accessibility.
Supercharged End 2 End Testing Framework for NodeJSProject mention: Running CodeceptJS in BrowserStack Automate | dev.to | 2021-02-17
Using a service like BrowserStack you can take your local automation tests to the skies. This is made possible by directing CodeceptJS to point to BrowserStack instead of running locally.
Pa11y is your automated accessibility testing palProject mention: HTML5 Resource | dev.to | 2021-02-24
Pa11y - automated accessibility testing
Hackable HTTP proxy for resiliency testing and simulated network conditions
:mailbox: SMTP Server + Web Interface for viewing and testing emails during development.Project mention: Django Mail Debug with MailDev w/ Docker for four Steps. | dev.to | 2021-02-17
In my case, I used docker-compose to do this, but please read accordingly. Of course, you can also use Docker commands to run it, and even if you don't have Docker environment, you can install and use it with npm command. For more information, please look at official document here .
🚦 Your own mini Travis CI to run tests locally
Runs a load test on the selected URL. Easy to extend minimally for your own ends.
Aside from the basic documentation on their website, I would also recommend reading through their kitchen sink examples. They're available on Github and on their site's documentation. I highly recommend reading the provided documentation top to bottom to really understand what the framework can provide and the testing philosophy the Cypress team took when building it. In addition, the Examples section on the Cypress website compiles a healthy amount of tutorial videos which have a ton of helpful information.