An overview of some of the most popular testing frameworks is listed below.
A feature-rich framework that works on browser mode and Node.js. This simple and fun to use or asynchronous testing run serial wise and allows for accurate and flexible reporting,. It is good to map uncaught exceptions to the correct test cases.
The primary objective of this framework is i to provide a productive testing environment for developers to just write codes and access instant feedback without having to set up tedious configurations.It thus enables the work to be more productive and creative
It works best on ibraries like QUnit and Jasmine, to help simulate user actions, easily test asynchronous behavior, and support black box testing. Its terse jQuery-like syntax tis best suited o superpower your functional or unit tests.
The extensive architecture is ideal to write custom test interfaces, executors, and reporters to influence how tests run and easily integrate with the existing coding environment.
It also comes with Grunt tasks so ias to minimise time to add to existing Grunt-based workflows, and is designed to work out-of-the-box with popular continuous integration services like Jenkins and Travis CI.
An open source Ruby library for automating tests, it human-like browser interaction: clicking links, filling out forms and validating text is good.
Primarily a software for React, it makes it easier to assert, manipulate, and traverse React Components’ output.It’s API is intuitive and flexible by mimicking jQuery’s API for DOM manipulation and traversal.Enzyme’s is independent of the test runner or assertion library used, and is compatible with all major test runners and assertion libraries. The documentation and examples for enzyme use mocha and chai, but one can extrapolate to a framework of choice.
An opinionated, carefully-designed test double library maintained by a software agency called Test Double.It was designed to promote terse, clear, and easy-to-understand tests.
It runs tests concurrently, and is best suited for for IO heavy tests, since IO in Node.js can happen in parallel due to its async nature.Test files are run in parallel as separate processes, to better performance and an isolated environment for each test file. Switching from Mocha to AVA in Pageres brought the test time down from 31 to 11 seconds.Having tests run concurrently aids in write atomic tests, so that tests are independent of global state or the state of other tests,
An easy, simple to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites. It uses the powerful W3C WebDriver API to perform commands and assertions on DOM elements.
An end-to-end test framework for Angular and AngularJS applications. it runs tests against applications running in a real browser, interacting with it as a user would.
It provides beautiful test and code coverage reports in real time, by testing immediately as one types and displays execution results in your code editor.
A pure node.js end-to-end solution for testing web apps that takes care of all the stages: starting browsers, running tests, gathering test results and generating reports. TestCafe doesn’t need browser plugins – The testing framework works in all popular modern browsers out-of-the-box.
A test engine that runs unit and integration tests in the browser itself, Drive an application with automated tests instead of manually verifying that the app works. Saving time on set up of a test environment. Just download the desktop app, add the project and start testing immediately.
One need not change or modify the code Test in any major language or framework.
An expressive, readable, framework-agnostic assertion library, very helpful. It keeps the test code clean, and error messages helpful.By default the Object.prototype with a single non-enumerable getter allows \to express how objects should behave. It also returns itself when required with require.
It automates browsers. and ideal for automating web applications for testing purposes, but not confined to that.
get Selenium tutorials from here