Nowadays end to end test is becoming popular and tester are very much fond of these tools.
In that case, Cypress is one step ahead due to its first execution of the test script. Scripts are written in
javascript and no runtime server needed.
In that case, Cypress is one step ahead due to its first execution of the test script. Scripts are written in
javascript and no runtime server needed.
It is an open-source and developer-friendly tool and builds from scratch and no selenium dependency.
According to cypress, it has the following features that make it different from other tools.
- For every step, it takes a screenshot. When you hover it shows a recorded screenshot.
- It can automatically rerun when any changes happen in the script.
- It has spies, stubs, and clocks like unit tests.
- Since it does not use any selenium or web driver, tests result are consistent, reliable and flake-free.
- Debugging is user friendly.
- No waits needed. It can automatically start and stops when needed.
- Network Trafic can be stubbed when needed.
- Screenshot can be taken automatically when scripts fail. Also, video can be recorded for the whole steps.
In my next post, I show how cypress can be installed and a simple test can be run.
Welcome to the Cypress world!
No comments:
Post a Comment