Jest

Jest is an open-source testing framework built on JavaScript and designed mainly for React- and React Native-based web applications. It is one of the most popular test runners these days and the default choice for React projects.

Jest ships as an npm package. You can install it in any JavaScript project. 

This section guides you through integrating Jest and Selenium Webdriver with Perfecto and Perfecto Smart Reporting

A sample project is available in GitHub: https://github.com/PerfectoMobileSA/Jest-perfecto-sample

Important: This document includes references to a third-party product, Jest. The user interface and usage of third-party products are subject to change without notice. For the latest published information about Jest, see https://jestjs.io/docs/getting-started.

Prerequisites

Integrating Perfecto and Perfecto Smart Reporting with Jest requires the following npm packages:

  • jest
  • perfecto-reporting
  • selenium-webdriver

Step-by-step instructions

Expand a step to view details.