Upload
vladimir-roudakov
View
73
Download
0
Embed Size (px)
Citation preview
Testing any day: guide to end to end test driven Drupal projects
DrupalGov
27 Mar 2017
Vladimir ROUDAKOV
Reasonsfor project failure
● poorly defined goals
● optimistic expectations
● project is too complex
Testing…
Found a problem with login form
- Login- User area
- Yes, but not tested
R1: LoginR2: User area
Ready?
Feature is ready
- Login- User area
Testing… - cannot login- inconsistency with button colour
● As anonymous user I want to
login from login page
located at '/user'
● As anonymous user I want to
login from home page
As anonymous user I want to
login from home page and want
to be redirected to login page
with the following error
message when login is incorrect
Resources: videos
DrupalCon Dublin 2016: Automated browser testing with Nightwatch.jshttps://www.youtube.com/watch?v=FuAI-JQ8L5Q
Making testing fun | Andy Zaidman | TEDxDelfthttps://www.youtube.com/watch?v=IfXVEz_mMHI
Nightwatch.js Tutorial - Selenium Automation Testing with javascripthttps://www.youtube.com/watch?v=wfwgt-7IZLQ
Resources: links
Selenium - Web Browser Automationhttp://www.seleniumhq.org/
NightwatchJShttp://nightwatchjs.org/
SauseLabshttp://www.saucelabs.com/
BrowserStackhttps://www.browserstack.com/
Resources: articles
Drupal 7 testinghttps://www.drupal.org/docs/7/testing
Drupal 8 testinghttps://www.drupal.org/docs/8/testing
simpleTest with Behat for Drupal 8http://www.gizra.com/content/simpletest-behat-drupal-8/
4 Massive Australian IT Project Failures and why They Failedhttp://yourprojectmanager.com.au/4-massive-australian-project-failures-failed
/
Images Used
https://pixabay.com/en/student-typing-keyboard-text-woman-849825/
https://pixabay.com/en/font-lead-set-book-printing-705667/
https://pixabay.com/en/tools-vintage-woodworking-saw-1209764/
https://pixabay.com/en/student-typing-keyboard-text-woman-849828/
https://pixabay.com/en/question-mark-hand-drawn-solution-2123969/
https://pixabay.com/en/cat-angry-unhappy-wild-black-gray-334383/
https://pixabay.com/en/tattoo-tattoo-artist-body-drawing-1843620/
Images Used
https://pixabay.com/en/building-joy-planning-plans-1080591/
https://pixabay.com/en/hiding-boy-girl-child-young-box-1209131/
https://pixabay.com/en/pork-roast-pork-loin-pork-severe-1615228/
https://pixabay.com/en/bunker-archive-documents-622515/
https://pixabay.com/en/testing-circuit-electronic-tester-1468062/
https://pixabay.com/en/construction-worker-building-job-642631/
https://pixabay.com/en/hiding-boy-girl-child-young-box-1209131/