e2e testing with cypress

16
e2e testing with Cypress December 12, 2017 Tomasz Bąk [email protected]

Upload: tomasz-bak

Post on 28-Jan-2018

164 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: e2e testing with cypress

e2e testing withCypressDecember 12, 2017Tomasz Bą[email protected]

Page 2: e2e testing with cypress

About me

● software developer & architect, co-founder selleo.com

● 12+ years of experience

● 4+ years senior frontend developer

Page 3: e2e testing with cypress
Page 4: e2e testing with cypress

Agenda What is Cypress?

Why it is so good?

Page 5: e2e testing with cypress

Cypress is all in one

Page 6: e2e testing with cypress

Cypress does not use Selenium

Page 7: e2e testing with cypress

Cypress has native access to everything

● Cypress is a Node.js server processThis makes performing tasks such as taking screenshots, recording videos, general file system operations and network operations possible.

● Cypress tests run inside of the browserYou have real, native access to everything in your application under test.

Page 8: e2e testing with cypress

Trade-offs

● Cypress is not a general purpose automation tool● Cypress commands run inside of a browser● There will never be support for multiple browser tabs● You cannot use Cypress to drive two browsers at the same time● Each test is bound to a single origin

Page 9: e2e testing with cypress

A test runner built for humans

Page 10: e2e testing with cypress

Cypress runs much, much faster

Page 11: e2e testing with cypress

Debugging

Page 12: e2e testing with cypress

CI + Dashboard

Page 13: e2e testing with cypress

Who is using it?

Page 14: e2e testing with cypress
Page 15: e2e testing with cypress
Page 16: e2e testing with cypress

Thank you!