mage titans usa 2016 - jonathan bownds - magento ci and testing

12

Upload: stacey-whitney

Post on 16-Apr-2017

41 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing
Page 2: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

Jonathan BowndsCTO

Page 3: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

Jonathan BowndsCTO

Mastering Magento 2

Page 4: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

Why roll this together? Sid Mashburn Deploying code in a reproducible manner to our staging servers was

taking a lot of time, as sysops ended up being a bottleneck. We moved responsibility for all merges to developers, and turned on Jenkins git repo polling so that changes to a given branch would trigger a build. With some basic testing in place, build breaking is infrequent, and responsibility for fixing the build resides with the developers as well.

This facilitates faster development, additional visibility for stakeholders and distributed responsibility for fixing issues with the build, which in the end.

Page 5: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

Tools!

Jenkins Ansible PhantomJS

Page 6: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

Jenk-who? Jenkins is an award-winning, cross-platform, continuous integration and

continuous delivery application that increases your productivity. Use Jenkins to build and test your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. It also allows you to continuously deliver your software by providing powerful ways to define your build pipelines and integrating with a large number of testing and deployment technologies.

Install is a snap- Example for Centos/RHEL:

Page 7: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

Ansi-what? Ansible is basically automatied

system administration and organization.

I’m sure that there are a lot of good reasons to line ansible- After all Red Hat acquired them, so there must be something under the hood.

What I like: Ansible feels like shell scripting to me. Ansible is

Page 8: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

Phantom-where? Run functional tests with

frameworks such as Jasmine, QUnit, Mocha, Capybara, WebDriver, and many others.

Page 9: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

What does this look like ? Run functional tests with

frameworks such as Jasmine, QUnit, Mocha, Capybara, WebDriver, and many others.

Page 10: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

Phantom-where? Sample text Sample text

Page 11: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

Gatekeeper

Page 12: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing

Sample Title

Heading Heading Heading

data data data

Info introducing the data in the table below.