TestCafe

Last edit:  Mar 06, 2019

Contributors:  pavelloz diana-lakatos

TestCafe is an open-source, Node.JS-based end-to-end testing framework for web apps.

End-to-end testing

End-to-end testing is a technique to test an application flow from start to finish. It tests the application and its components for integration and data integrity in a product-like setting by simulating a real user scenario.

Together with unit and integration tests, end-to-end tests play an important role in your quality assurance process, and can help you confirm that the application works as expected.

Why TestCafe?

Unlike other solutions, TestCafe is not built on Selenium, which allows it to provide features that are not available in Selenium-based tools (for example, testing on mobile devices, user roles, automatic waiting, etc.). As it doesn't use WebDriver to work with browsers, it only requires a minimal testing environment and is installed with a single command.

TestCafe runs on Windows, MacOS, and Linux, and supports desktop, mobile, remote and cloud browsers (UI or headless). See a list of supported browsers here.

Examples

See complete TestCafe test suites and file organization examples on platformOS sites in the following public repos:

Related topics