Chapter 7: Findings from TestCafe

The main learning goal in this chapter is to optimize our test actions with functions and get familiar with how to use npm scripts to run the tests. We will also review the main direction of TestCafe framework development, along with some references to useful resources.

This knowledge will give us some additional ideas on how to refactor tests, how to run them more efficiently, and where to search for further improvements.

In this chapter, we're going to cover the following main topics:

  • Taking a final step with test functions.
  • Wrapping up the test project with npm scripts.
  • Exploring TestCafe development and future plans.
  • Additional references to useful resources.

Technical requirements

All code examples for ...

Get Modern Web Testing with TestCafe now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.