RVA JavaScript Conf 2018 - E2E Testing with Cypress by Don Denoncourt

preview_player
Показать описание
Introducing Cypress, a game changing user interface and acceptance testing tool. Cypress supplants clunky tools like PhantomJS, Selenium, and Protractor. Cypress is free for open source projects and many of its tools are open source with constant improvements in its roadmap. Cypress runs in the browser. It is a JavaScript-based simple syntax that is RSpec-like. Watch Don as he installs Cypress and begins writing tests in under 5 minutes.

View demos on cool features like:
stubs and fixtures
form submission and AJAX request waits
video recordings with snapshots of each test
two modes: interactive console and headless
everything runs as 'promises', which removes asynchronous issues common with JavaScript development
See an Overview of Cypress's simple RSpec-like syntax
Structure: describe, context, it
Assertions: should, expect
Hooks: before, after, beforeEach, afterEach
Development: skip, only
See how Cypress works with Continuous Integration services
Listen to proven Rails testing strategies
And, finally, receive quick-start tips

Рекомендации по теме