DEV Community

Cover image for Cypress?
Vibhanshu Jain
Vibhanshu Jain

Posted on • Updated on

Cypress?

I want share about the trending tool Cypress, which I came across recently.

Cypress?

Cypress is an End-to-End Testing framework, which comes with a lot of inbuilt features that you will require in any automation tool.Cypress tests anything that runs in a web browser. All of the architecture surrounding, It is built to handle modern JavaScript frameworks like React, Angular, Vue, Elm, etc.
In a nutshell Cypress is a next generation front end testing tool built for the modern web

Cypress is all in one

When we say all in one means we don't need any other 3rd party tool to achieve our automation framework.
Unlike other tools, where we have to maintain and integrate multiple libraries to support automation framework, increasing the effort and cost required to maintain those libraries.
With Cypress, we don’t have to worry about any of these things, since most of the things which are required come along with Cypress itself.

Features of Cypress

There is multiple uniqueness, which makes Cypress one of the choices for Web automation. Few of them are:
Fast - Run on the fly.
Flake Resistant - Cypress automatically waits for commands and assertions before moving on. No more async issues.
Ability to test API’s cases by mocking the server response. (Network Requests)
Debuggability -We can hover over each command in the Command Log to accurately see what happened at each step.
View videos of the execution of your entire tests when running from the Cypress Dashboard.
Viewport Sizing - set your app viewport size to test responsive layouts.

I have not covered the coding part and architecture as it will be confusing to the new readers.
Thanks for the read let me know what are the things you are interested about this tool and what you want to know more.

Official cypress link: https://www.cypress.io/

Top comments (0)