Suche senden
Hochladen
WordCamp Montreal - Catching regressions faster with automated acceptance tests
•
0 gefällt mir
•
4,481 views
J
Jonathan Bardo
Folgen
Catching regressions faster with automated acceptance tests
Weniger lesen
Mehr lesen
Internet
Melden
Teilen
Melden
Teilen
1 von 26
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Catching regressions faster with automated acceptance tests
Catching regressions faster with automated acceptance tests
Jonathan Bardo
Web Performance testing with CI/CD
Web Performance testing with CI/CD
Marcel Verkerk
Pressnomics 2015 - Managing Client Expectations
Pressnomics 2015 - Managing Client Expectations
Steve Zehngut
Managing Clients without Going Crazy
Managing Clients without Going Crazy
John Eckman
WordPress Performance optimization
WordPress Performance optimization
Brecht Ryckaert
Not One and Done - Repurposing Your Content
Not One and Done - Repurposing Your Content
Sharon A. Dawson, DTM
My Contributor Story
My Contributor Story
Marko Heijnen
Project Management or how to herd cats
Project Management or how to herd cats
Becky Davis
Empfohlen
Catching regressions faster with automated acceptance tests
Catching regressions faster with automated acceptance tests
Jonathan Bardo
Web Performance testing with CI/CD
Web Performance testing with CI/CD
Marcel Verkerk
Pressnomics 2015 - Managing Client Expectations
Pressnomics 2015 - Managing Client Expectations
Steve Zehngut
Managing Clients without Going Crazy
Managing Clients without Going Crazy
John Eckman
WordPress Performance optimization
WordPress Performance optimization
Brecht Ryckaert
Not One and Done - Repurposing Your Content
Not One and Done - Repurposing Your Content
Sharon A. Dawson, DTM
My Contributor Story
My Contributor Story
Marko Heijnen
Project Management or how to herd cats
Project Management or how to herd cats
Becky Davis
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
allilevine
2016 #WCFAY Anatomy of a Website
2016 #WCFAY Anatomy of a Website
Jamie's Notebook
Content Creation Regimen - WordCamp Hamilton 2016
Content Creation Regimen - WordCamp Hamilton 2016
Andy McIlwain
WordPress mit React – Mehr als eine Zweckehe?!
WordPress mit React – Mehr als eine Zweckehe?!
Paul Vincent Beigang
CSS na steroidima (SASS)
CSS na steroidima (SASS)
WordPress zajednica - Niš
WordPress 101 from WordCamp Cincinatti 2016
WordPress 101 from WordCamp Cincinatti 2016
Angela Meeker
VersionPress - WordPress + Git
VersionPress - WordPress + Git
frankstaude
Flexing Your WordPress Themes
Flexing Your WordPress Themes
Tim Blodgett
Do you really- need a 2kg pocket knife-
Do you really- need a 2kg pocket knife-
Kate Newbill
WordPress & Front-end performance
WordPress & Front-end performance
Michael Mizner
Develop and Deploy Outside the Repo
Develop and Deploy Outside the Repo
afragen
Using the Editor the Proper Way - WordCamp Toronto 2015
Using the Editor the Proper Way - WordCamp Toronto 2015
sethta
Word press gets responsive 4x3
Word press gets responsive 4x3
Edmund Turbin
2013-08-10 WordCamp Russia - Aleksandr Stankevic
2013-08-10 WordCamp Russia - Aleksandr Stankevic
sysmonk
WooCommerce: An E-Commerce Solution for Wordpress
WooCommerce: An E-Commerce Solution for Wordpress
Digamber Pradhan
Diabeł tkwi w szczegółach...
Diabeł tkwi w szczegółach...
Ewa Karaszkiewicz
Learning java script and wordpress rest api by tom hermans wordcamp netherl...
Learning java script and wordpress rest api by tom hermans wordcamp netherl...
Tom Hermans
WP-CLI: Command and Conquer!
WP-CLI: Command and Conquer!
Frankie Jarrett
GoDaddy at Velocity 2016 New York
GoDaddy at Velocity 2016 New York
Jim Pierson
GoDaddy's OpenStack Journey
GoDaddy's OpenStack Journey
Joshua Harlow
Scaling Automated Tests: Choosing an Appropriate Subset
Scaling Automated Tests: Choosing an Appropriate Subset
TechWell
Sql server enterprise edition awareness
Sql server enterprise edition awareness
Hamid J. Fard
Weitere ähnliche Inhalte
Andere mochten auch
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
allilevine
2016 #WCFAY Anatomy of a Website
2016 #WCFAY Anatomy of a Website
Jamie's Notebook
Content Creation Regimen - WordCamp Hamilton 2016
Content Creation Regimen - WordCamp Hamilton 2016
Andy McIlwain
WordPress mit React – Mehr als eine Zweckehe?!
WordPress mit React – Mehr als eine Zweckehe?!
Paul Vincent Beigang
CSS na steroidima (SASS)
CSS na steroidima (SASS)
WordPress zajednica - Niš
WordPress 101 from WordCamp Cincinatti 2016
WordPress 101 from WordCamp Cincinatti 2016
Angela Meeker
VersionPress - WordPress + Git
VersionPress - WordPress + Git
frankstaude
Flexing Your WordPress Themes
Flexing Your WordPress Themes
Tim Blodgett
Do you really- need a 2kg pocket knife-
Do you really- need a 2kg pocket knife-
Kate Newbill
WordPress & Front-end performance
WordPress & Front-end performance
Michael Mizner
Develop and Deploy Outside the Repo
Develop and Deploy Outside the Repo
afragen
Using the Editor the Proper Way - WordCamp Toronto 2015
Using the Editor the Proper Way - WordCamp Toronto 2015
sethta
Word press gets responsive 4x3
Word press gets responsive 4x3
Edmund Turbin
2013-08-10 WordCamp Russia - Aleksandr Stankevic
2013-08-10 WordCamp Russia - Aleksandr Stankevic
sysmonk
WooCommerce: An E-Commerce Solution for Wordpress
WooCommerce: An E-Commerce Solution for Wordpress
Digamber Pradhan
Diabeł tkwi w szczegółach...
Diabeł tkwi w szczegółach...
Ewa Karaszkiewicz
Learning java script and wordpress rest api by tom hermans wordcamp netherl...
Learning java script and wordpress rest api by tom hermans wordcamp netherl...
Tom Hermans
Andere mochten auch
(17)
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
WordCamp Montreal 2015: Combining Custom Post Types, Fields, and Meta Boxes t...
2016 #WCFAY Anatomy of a Website
2016 #WCFAY Anatomy of a Website
Content Creation Regimen - WordCamp Hamilton 2016
Content Creation Regimen - WordCamp Hamilton 2016
WordPress mit React – Mehr als eine Zweckehe?!
WordPress mit React – Mehr als eine Zweckehe?!
CSS na steroidima (SASS)
CSS na steroidima (SASS)
WordPress 101 from WordCamp Cincinatti 2016
WordPress 101 from WordCamp Cincinatti 2016
VersionPress - WordPress + Git
VersionPress - WordPress + Git
Flexing Your WordPress Themes
Flexing Your WordPress Themes
Do you really- need a 2kg pocket knife-
Do you really- need a 2kg pocket knife-
WordPress & Front-end performance
WordPress & Front-end performance
Develop and Deploy Outside the Repo
Develop and Deploy Outside the Repo
Using the Editor the Proper Way - WordCamp Toronto 2015
Using the Editor the Proper Way - WordCamp Toronto 2015
Word press gets responsive 4x3
Word press gets responsive 4x3
2013-08-10 WordCamp Russia - Aleksandr Stankevic
2013-08-10 WordCamp Russia - Aleksandr Stankevic
WooCommerce: An E-Commerce Solution for Wordpress
WooCommerce: An E-Commerce Solution for Wordpress
Diabeł tkwi w szczegółach...
Diabeł tkwi w szczegółach...
Learning java script and wordpress rest api by tom hermans wordcamp netherl...
Learning java script and wordpress rest api by tom hermans wordcamp netherl...
Ähnlich wie WordCamp Montreal - Catching regressions faster with automated acceptance tests
WP-CLI: Command and Conquer!
WP-CLI: Command and Conquer!
Frankie Jarrett
GoDaddy at Velocity 2016 New York
GoDaddy at Velocity 2016 New York
Jim Pierson
GoDaddy's OpenStack Journey
GoDaddy's OpenStack Journey
Joshua Harlow
Scaling Automated Tests: Choosing an Appropriate Subset
Scaling Automated Tests: Choosing an Appropriate Subset
TechWell
Sql server enterprise edition awareness
Sql server enterprise edition awareness
Hamid J. Fard
Event slides: Free screening of "The Loop" by InVision at GoDaddy
Event slides: Free screening of "The Loop" by InVision at GoDaddy
GoDaddy
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
DataStax
Hack proof your drupal site- DrupalCamp Hyderabad
Hack proof your drupal site- DrupalCamp Hyderabad
Naveen Valecha
IDERA Live | Why You Need Data Warehouse Automation Now More Than Ever
IDERA Live | Why You Need Data Warehouse Automation Now More Than Ever
IDERA Software
Growth Hacking for Lean Startups: How to Get, Keep and Grow Customers
Growth Hacking for Lean Startups: How to Get, Keep and Grow Customers
Chicago Lean Startup
Building a WiFi Hotspot with NodeJS: Cisco Meraki - ExCap API
Building a WiFi Hotspot with NodeJS: Cisco Meraki - ExCap API
Cisco DevNet
Go daddy overview – march 2017 gddy
Go daddy overview – march 2017 gddy
godaddyir
NYC Identity Summit Tech Day: Authorization for the Modern World
NYC Identity Summit Tech Day: Authorization for the Modern World
ForgeRock
ONTFORCE SWAT4LS Slides Presented on Dec 9th 2015
ONTFORCE SWAT4LS Slides Presented on Dec 9th 2015
Hans Constandt
OSA Con 2022 - Quick Reflexes_ Building Real-Time Data Analytics with Redpand...
OSA Con 2022 - Quick Reflexes_ Building Real-Time Data Analytics with Redpand...
Altinity Ltd
IDERA Live | Doing More with Less: Managing Multiple Database Roles and Platf...
IDERA Live | Doing More with Less: Managing Multiple Database Roles and Platf...
IDERA Software
Converting you website to https
Converting you website to https
Peter Salerno
Cookies in php lecture 2
Cookies in php lecture 2
Mudasir Syed
Acquia - 大規模スケールでのマルチサイトの管理と運用 [動画あり]
Acquia - 大規模スケールでのマルチサイトの管理と運用 [動画あり]
CI&T Japan
Automating Cloud Operations - Everything you wanted to know about cURL and RE...
Automating Cloud Operations - Everything you wanted to know about cURL and RE...
Revelation Technologies
Ähnlich wie WordCamp Montreal - Catching regressions faster with automated acceptance tests
(20)
WP-CLI: Command and Conquer!
WP-CLI: Command and Conquer!
GoDaddy at Velocity 2016 New York
GoDaddy at Velocity 2016 New York
GoDaddy's OpenStack Journey
GoDaddy's OpenStack Journey
Scaling Automated Tests: Choosing an Appropriate Subset
Scaling Automated Tests: Choosing an Appropriate Subset
Sql server enterprise edition awareness
Sql server enterprise edition awareness
Event slides: Free screening of "The Loop" by InVision at GoDaddy
Event slides: Free screening of "The Loop" by InVision at GoDaddy
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
Hack proof your drupal site- DrupalCamp Hyderabad
Hack proof your drupal site- DrupalCamp Hyderabad
IDERA Live | Why You Need Data Warehouse Automation Now More Than Ever
IDERA Live | Why You Need Data Warehouse Automation Now More Than Ever
Growth Hacking for Lean Startups: How to Get, Keep and Grow Customers
Growth Hacking for Lean Startups: How to Get, Keep and Grow Customers
Building a WiFi Hotspot with NodeJS: Cisco Meraki - ExCap API
Building a WiFi Hotspot with NodeJS: Cisco Meraki - ExCap API
Go daddy overview – march 2017 gddy
Go daddy overview – march 2017 gddy
NYC Identity Summit Tech Day: Authorization for the Modern World
NYC Identity Summit Tech Day: Authorization for the Modern World
ONTFORCE SWAT4LS Slides Presented on Dec 9th 2015
ONTFORCE SWAT4LS Slides Presented on Dec 9th 2015
OSA Con 2022 - Quick Reflexes_ Building Real-Time Data Analytics with Redpand...
OSA Con 2022 - Quick Reflexes_ Building Real-Time Data Analytics with Redpand...
IDERA Live | Doing More with Less: Managing Multiple Database Roles and Platf...
IDERA Live | Doing More with Less: Managing Multiple Database Roles and Platf...
Converting you website to https
Converting you website to https
Cookies in php lecture 2
Cookies in php lecture 2
Acquia - 大規模スケールでのマルチサイトの管理と運用 [動画あり]
Acquia - 大規模スケールでのマルチサイトの管理と運用 [動画あり]
Automating Cloud Operations - Everything you wanted to know about cURL and RE...
Automating Cloud Operations - Everything you wanted to know about cURL and RE...
Kürzlich hochgeladen
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
kumarajju5765
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
tanu pandey
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
sonalikaur4
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
Diya Sharma
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
rahman018755
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
APNIC
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
APNIC
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Delhi Call girls
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
Damian Radcliffe
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
divyansh0kumar0
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
APNIC
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
anamikaraghav4
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
soniya singh
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
kojalkojal131
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
Thierry TROUIN ☁
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
ellan12
Kürzlich hochgeladen
(20)
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
WordCamp Montreal - Catching regressions faster with automated acceptance tests
1.
Copyright© 2016 GoDaddy
Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Catching regressions faster with automated acceptance tests Jonathan Bardo
2.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 2Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. About me • Senior Product Engineer – WordPress for GoDaddy • Currently working on • New onboarding experience for GoDaddy’s clients • Love • PHP • JavaScript • Big Data platforms • Making WordPress plugins • Tests • Based in Montreal jonathanbardo
3.
Copyright© 2016 GoDaddy
Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. What is acceptance testing? 3
4.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 4Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Definition Acceptance testing is used to make sure the requirements of a specification are met.
5.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 5Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Example Using Codeception PHP framework <?php $I->wantTo( 'Log into WordPress admin' ); // Let's start on the login page $I->amOnPage( wp_login_url() ); // Populate the login form's user id field $I->fillField( [ 'id' => 'user_login' ], 'admin' ); // Populate the login form's password field $I->fillField( [ 'id' => 'user_pass' ], 'password' ); // Submit the login form $I->click( [ 'name' => 'wp-submit' ] );
6.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 6Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. In short If there’s a new WordPress release coming out soon. 😱 😎 Go from this To this
7.
Copyright© 2016 GoDaddy
Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. The tools 7
8.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 8Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. The tools
9.
Copyright© 2016 GoDaddy
Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Installation 9 Running tests locally jonathanbardo.com/?p=559
10.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 10Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Steps 1. Setup your local environment (VVV, Laravel Valet, MAMP, others) 2. Install Selenium Server 3. Install a browser driver (e.g. Chromedriver)
11.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 11Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Demo: My local setup
12.
Copyright© 2016 GoDaddy
Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Writing acceptance tests
13.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 13Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. codeception.yml actor: Tester paths: tests: tests/codeception log: tests/codeception/_output data: tests/codeception/_data helpers: tests/codeception/_support settings: bootstrap: _bootstrap.php colors: true memory_limit: 256M
14.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 14Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. acceptance.suite.yml tests/codeception/acceptance.suite.yml class_name: AcceptanceTester modules: enabled: - WebDriver - WordPress - AcceptanceHelper config: WebDriver: window_size: 1366x764
15.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 15Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Demo: Sample plugin
16.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 16Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. A look back <?php $I->wantTo( 'Log into WordPress admin' ); // Let's start on the login page $I->amOnPage( wp_login_url() ); // Populate the login form's user id field $I->fillField( [ 'id' => 'user_login' ], 'admin' ); // Populate the login form's password field $I->fillField( [ 'id' => 'user_pass' ], 'password' ); // Submit the login form $I->click( [ 'name' => 'wp-submit' ] );
17.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 17Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Demo: Let’s write a test
18.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 18Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Let’s write an actual test /** * Validate front end site description is present * * @param AcceptanceTester $I */ public function validateFrontEndSiteDescription( AcceptanceTester $I ) { $I->wantTo( 'Make sure the site description is "Codeception demo"' ); $I->amOnPage( home_url() ); $I->canSee( __( 'Codeception demo', 'codeception-demo' ) ); } tests/codeception/acceptance/UserTestCest.php
19.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 19Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Let’s write an actual test /** * Validate that our admin menu has the right text * * @before login * @param AcceptanceTester $I */ public function validateAdminMenu( AcceptanceTester $I ) { $I->wantTo( 'Make sure the Dashboard admin menu text is "Codeception demo"' ); $I->amOnPage( admin_url() ); $I->canSee( __( 'Codeception demo', 'codeception-demo' ), [ 'css' => '#menu-dashboard .wp-menu-name' ] ); } tests/codeception/acceptance/UserTestCest.php
20.
Copyright© 2016 GoDaddy
Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Running acceptance tests
21.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 21Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Running codeception in the terminal $ wp codeception run --debug
22.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 22Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Demo
23.
24.
Copyright© 2016 GoDaddy
Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Using Travis CI
25.
CONFIDENTIAL. COPYRIGHT ©
2016 GODADDYINC. ALL RIGHTSRESERVED. 25Copyright© 2016 GoDaddy Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Demo
26.
Copyright© 2016 GoDaddy
Inc. · 14455 N. Hayden Road Scottsdale, Arizona 85260 (480) 505-8800 · All Rights Reserved. Thank you jonathanbardo
Jetzt herunterladen