JavaScript End to End Testing Framework
Comparing Nightwatch, Selenium, Puppeteer and WebDriverIO + giving an overview of Cypress 🌸
WebDriver Architecture
Cypress Architecture
Node Server
Automation Framework only (no ui or test runner)
Setup with Selenium
Install selenium server or framework
Install browser driver
Install test runner
Install assertion library
Install mocking/stubbing/spying library
Setup with Cypress
Testing with Cypress
Debugging with Cypress
Continuous Integration with Cypress
Pros
Cons
All-inclusive testing system
Powerful time-travel debugging
Automatic waits
Built-in function and network mocking
Testing directly on the browser without the need for WebDriver
Allows for parallelization of test suites
No support for cross-browser testing yet (WIP, FireFox in beta)
Browser support updates almost immediately