nobusugi246 / cypress-component-testing-examples

Cypress component examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cypress Component Testing Examples

A collection of examples covering common component testing use-cases

How to use these examples

Depending on your needs, you can:

  • Try out Cypress Component Testing using any example by cloning this repo, cding into an example directory, installing the dependencies, and running Cypress per that example's instructions.
  • Recreate an example manually by creating a new project locally and following a given example's instructions.
  • Add Cypress Component Testing into an existing project by using the instructions from the example that's closest to your project and making any adjustments that are necessary.

How examples are structured

Each folder in this repo contains an example which has, at the top of its README, instructions on how to install the example's dependencies and run Cypress Component Testing, in addition to a list of steps that were used to create that example.

Each step is numbered, and shows the commands that were run, which files were added or changed, and has a clickable commit SHA that shows the exact changes that were made in that step.

Contributing

All examples are generated via script. Documentation coming soon!

Scripts used to generate examples in this repo

About

Cypress component examples


Languages

Language:JavaScript 42.8%Language:TypeScript 16.6%Language:Shell 12.6%Language:CSS 11.4%Language:HTML 8.9%Language:Vue 7.6%