Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 884 Bytes

README.md

File metadata and controls

29 lines (15 loc) · 884 Bytes

Documenté Example SUT

This repository contains an example of a SUT (System Under Test) that is tested using the Documenté framework and Cypress.

The SUT is a simple React application that allows users to login and manage a list of tasks.

It also contains a Documenté config and an example document that can be used to generate Cypress or Playwright tests.

How to run the tests

With Cypress

  1. Install the dependencies with npm run install.

  2. Extract Cypress tests with npm run documente:cypress.

  3. Start the SUT application with npm run start

  4. Run the tests with npm run cypress:run

With Playwright

  1. Install the dependencies with npm run install.

  2. Extract Cypress tests with npm run documente:playwright.

  3. Start the SUT application with npm run start

  4. Run the tests with npm run playwright:run