Part 1 - Creating your First script.
- Fast, easy and reliable testing for anything that runs in a browser.
- It provide a complete end-to-end testing experience.
What is Cypress
- Complete Testing Framework for UI and Front End.
- It is build for E2E of your web Application.
- You can write Integration Test, Unit and UI Test also.
Why to use Cypress?
- Super easy to install
- work with most of SPA or Non SPA websites
- Test are written in JS ( cons)
- Really super fast.
- Test are not much flaky.
- Lots of Built in Tools like screenshot, Video and report.
- CI/CI integration.
- Debug tools like go back and forward.
Get started with Cypress
- npm install —save-dev cypress
- npm cypress open
- npm cypress run