rogerramosme / nx-e2e-testing-workspace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

End To End Testing Workspace

Create fast and simple e2e projects using Cypress.io and Nx

🔎 Smart, Fast and Extensible Testing System

Prerequisites

Install nx globally with npm i -g nx

You can use npx instead.

After clone, just install project dependencies with npm i

Generate an e2e application

After clone, just install project dependencies with npm i

Run nx workspace-schematic e2e-project <PROJECT_NAME> --url <PROJECT_BASE_URL>

e.g.:

nx workspace-schematic e2e-project my-awesome-project --url http://my-awesome-project.net

Running end-to-end tests

Run nx e2e <PROJECT_NAME> to execute the end-to-end tests via Cypress.

e.g.:

nx e2e my-awesome-project

# or

nx run my-awesome-project:e2e

Further help

Visit the Nx Documentation to learn more.

References

This project is made thanks to:

Special Thanks to Henrique Moreira who guide-us into nx generators creation <3

About


Languages

Language:TypeScript 100.0%