Easy Install Everything is included in a single module installed with one command.
npm install -g testcafe
No native parts to compile, no browsers plugins to install.
Complete Test Harness TestCafe automatically starts browsers, runs tests and gathers results. You only type a single command to begin testing.
testcafe chrome,firefox tests/
When testing is finished, TestCafe aggregates test results from different browsers and outputs them into one comprehensive report.
Test API consists of over two dozen methods that can emulate all actions one could possibly do with a webpage. Chained syntax allows for code that is easy to write and read.
Additionally, TestCafe automatically generates source maps for easy debugging. To debug your test code, start a debugging session in an IDE that supports source maps.
No Extra Coding Write tests without boilerplate code.
TestCafe automatically waits for page loads and XHRs to complete, as well as for DOM elements to become visible. You do not need to write custom code for that.
Test runs are isolated, which means that they do not share cookies, local or session storages. There is nothing to clean up between test runs.
Descriptive Reports TestCafe automatically generates full-detailed reports that provide a test run summary and comprehensive information about errors. Automatic page screenshots, fancy call sites and call stacks free of TestCafe internals allow you to easily detect error causes.
Use one ofbuilt-in reporters to output test results orcreate your own one to produce custom reports.
Straightforward Continuous Integration TestCafe is easy to set up on popular Continuous Integration platforms as it allows you to test against various browsers: local, remote or cloud (e.g. Sauce Labs). You can also create a custombrowser provider to add support for a browser or a cloud platform of your choice.
More to Come… We plan to introduce other outstanding features so that you can test apps with even more efficiency. Meanwhile, you can help us improve TestCafe by voting for features on our road map or sharing your own ideas and code in our GitHub repository.