Slide 1

Slide 1 text

> < MATT ALLAN - TWITTER: @mattallan_ END-TO-END TESTING WITH ————— 1

Slide 2

Slide 2 text

> < Who am i? 2 MATT ALLAN - TWITTER: @mattallan_

Slide 3

Slide 3 text

“END-TO-END TESTING IS A TECHNIQUE USED TO TEST WHETHER THE FLOW OF AN APPLICATION RIGHT FROM START TO FINISH IS BEHAVING AS EXPECTED WHAT IS END-TO-END TESTING? . ”

Slide 4

Slide 4 text

> < What do end to end tests look like? 4 MATT ALLAN - TWITTER: @mattallan_

Slide 5

Slide 5 text

> < 01 02 03 Confidence that your store isn’t broken Allows you test browsers that aren’t available to you Can be scheduled and automated 04 05 06 Easy to verify your site isn’t broken Ensures more quality releases of software Saves you time Why are they important? 5 MATT ALLAN - TWITTER: @mattallan_

Slide 6

Slide 6 text

> < They’ve began writing e2e tests and including them in core so they’re 100% accessible to everyone. Made them extendable for developers to build their own or contribute some tests back to core. Made sure the tests are relatively easy to setup and run yourself locally. 01 02 03 How is WooCommerce using end-to-end testing? 6 MATT ALLAN - TWITTER: @mattallan_

Slide 7

Slide 7 text

> < 7 https://tinyurl.com/woocommerce-e2e-doc MATT ALLAN - TWITTER: @mattallan_

Slide 8

Slide 8 text

> < 01 8

Slide 9

Slide 9 text

> < They’ve began writing e2e tests and including them in core so they’re 100% accessible to everyone. WooCommerce made them extendable for developers to build their own or contribute some tests back to core. Made sure the tests are relatively easy to setup and run yourself locally. 01 02 03 What is WooCommerce doing with end-to-end testing? 9 MATT ALLAN - TWITTER: @mattallan_

Slide 10

Slide 10 text

> < 02 10 Link: http://tinyurl.com/wc-e2e-tutorials

Slide 11

Slide 11 text

> < They’ve began writing e2e tests and including them in core so they’re 100% accessible to everyone. Made them extendable for developers to build their own or contribute some tests back to core. Made sure the tests are relatively easy to setup and run yourself locally. 01 02 03 How is WooCommerce using end-to-end testing? 11 MATT ALLAN - TWITTER: @mattallan_

Slide 12

Slide 12 text

> < 03 Things you need: • local copy of WC3.0+ (must also have the dev files) • (recommended) have a default theme installed • import WooCommerce dummy data • install modules via command line `npm install` • create your e2e test configuration file 12

Slide 13

Slide 13 text

> < 13 demo of running e2e tests MATT ALLAN - TWITTER: @mattallan_

Slide 14

Slide 14 text

> < Limitations with Woo E2E 14 • Uses/expects predefined WC Dummy Data • Requires knowledge of installing and updating
 node modules • Currently only support manual payment
 gateways (BAQ, Cheque, etc) • Recommends using a default WP theme • Requires learning a new language (not PHP) • Cannot be automated MATT ALLAN - TWITTER: @mattallan_

Slide 15

Slide 15 text

> < Other products/services 15 MATT ALLAN - TWITTER: @mattallan_

Slide 16

Slide 16 text

> < 16 Codeception MATT ALLAN - TWITTER: @mattallan_ - codeception.com/ - codeception.com/for/wordpress

Slide 17

Slide 17 text

> < 17 MATT ALLAN - TWITTER: @mattallan_

Slide 18

Slide 18 text

> < 18 Codeception MATT ALLAN - TWITTER: @mattallan_ - http://codeception.com/ - http://codeception.com/for/wordpress

Slide 19

Slide 19 text

> < 19 MATT ALLAN - TWITTER: @mattallan_ https://ghostinspector.com

Slide 20

Slide 20 text

> < 20 MATT ALLAN - TWITTER: @mattallan_ robotninja.com

Slide 21

Slide 21 text

> < 21 MATT ALLAN - TWITTER: @mattallan_

Slide 22

Slide 22 text

> < 22 - @mattallan - @mattallan_ - [email protected] MATT ALLAN - TWITTER: @mattallan_