End-to-End (E2E) Testing
Fernando Montoya
@montogeek
Smallest unit (method/function)
Expected output against given input
Simple as possible
Reliable
Works in isolation
npm i -g nightwatch
java -jar selenium-server-standalone-2.45.0.jar -Dwebdriver.chrome.driver=chromedriver
Download Selenium
Download ChromeDriver
nightwatch -c nightwatch.json
nightwatch -c nightwatch.json --test testsuite.js
Move Fast & Don't Break Things
Nightwatch.js
Selenium
Example code
By Fernando Montoya
End to end testing with NightWatch.js
Frontend Developer