Tip: When working with components (React, ES6 etc) use Bit to easily share, organize and reuse them between apps- to build faster. You can also use it to individually test components in the cloud, before using them. Give it a try.
It is very important to note that tests for Angular applications can be easily run with Jest and it is practically just all about preference.
Tests can also be run remotely from your terminal or IDE or using services like BrowserStack.
It ships with support for snapshot testing and typescript and runs tests in watch mode making it really fast; it also provides an isolated environment for each test file. It is easy to get started and has a collection of resources available online.
It also ships with support for Mocha and has a really good way of logging test results in a dashboard and easy debugging. It is the testing framework to look out for in 2019 with massively growing acceptance rate.
With over 43,000 ⭐️on github, Puppeteer built by the team at Google is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium.
It is new to the testing scene but already has a lot of developers using it (thanks google!) It is also pretty fast, since it is native, it does not currently support a lot of extensions but the future is really bright and promising.
With 6,000 ⭐️on github, Chai is a Behaviour-Driven Development and Test-driven development assertion library, similar to Node’s built-in
assert. It makes testing much easier by giving you lots of assertions you can run against your code. It ships with support for any other testing framework like Mocha.
It runs on all the popular environments including Windows, MacOS, and Linux. It supports desktop, mobile, remote and cloud browsers (UI or headless). It also has very elaborate documentation and a growing community.
Here we see that in the testing scene, there is no winner take all situation as it might seem in other sections like frontend development or backend. The various communities are almost evenly dispersed with interests and acceptance rates always fluctuating over time. What testing framework do you use, you can tell me down in the comments section.