SlideShare ist ein Scribd-Unternehmen logo
1 von 70
What you can, can’t and must test in Magento 
! 
presented by joshua warren 
! 
@joshuaSWarren
Don't worry about finding the perfect tools 
to test Magento. Just start testing. 
#MM14NY
creatuity.com/mmny 
! 
@joshuaswarren
75% of Magento developers surveyed are not 
conducting any automated testing of their 
Magento projects 
#MM14NY
Less than 20% of developers not testing 
Magento aren't testing because they think 
Magento is too complex to test 
#MM14NY
lack of budget is the #1 reason developers 
aren’t testing their magento projects 
#MM14NY
Lack of knowledge is the 2nd most common 
reason for not performing automated testing 
of magento 
#MM14NY
Lack of time is the 3rd most common reason 
for not performing automated testing of 
magento 
#MM14NY
testing is important
automated testing allows magento 
developers to focus on building new features 
#MM14NY
with automated testing, bugs are found and 
fixed as part of development. 
#MM14NY
one interruption to fix a bug that made it past 
QA costs the best developers 15 minutes of 
lost productivity 
#MM14NY
SOURCE: ‘PROGRAMMER INTERRUPTED’ - http://blog.ninlabs.com/2013/01/programmer-interrupted/
a well designed automated testing system 
reduces interruptions and increases 
productivity and happiness. 
#MM14NY
types of tests used to test magento
unit testing 
logical 
analytical 
great for ideal projects
unit testing 
magento’s flexibility greatly 
complicates unit testing
unit testing 
great for extensions 
github.com/EcomDev/EcomDev_PHPUnit 
@IvanChepurnyi
it’s not that you can’t test magento - you 
can’t unit test magento, but there’s more to 
testing than just unit tests 
#MM14NY
100% of developers surveyed that are testing 
magento are using functional tests 
#MM14NY
functional testing 
focuses on the entire site as a system 
doesn’t care what function is being called 
tests that the site works the way client wants
with full test coverage, functional tests 
confirm that your magento site still works 
as you add new features 
#MM14NY
one more thing… 
only 50% of developers surveyed are 
conducting performance testing 
! 
performance testing is a must
performance testing 
not just for sysadmins 
not just for front-end developers 
bad performance = bad sales
performance testing 
backend developers don’t always remember 
that extensions, integrations and new 
features can slow the site down
when testing your magento projects, include 
performance testing - poor performance is a 
bug 
#MM14NY
slow code should be optimized or removed 
just like any other bug would be 
#MM14NY
how to test magento
testing servers 
bamboo - commercial, general purpose 
! 
jenkins - open source, general purpose 
! 
phpci - open source, PHP-focused
only 1 developer reported using phpci for 
testing magento; 50% are using bamboo, 50% 
are using jenkins 
#MM14NY
jenkins vs bamboo 
jenkins is free 
Bamboo $10 starter license 
! 
Try both, pick whichever you like better
which testing server you use isn’t important - 
the fact that you have a testing server and 
are testing is. 
#MM14NY
100% of developers who said they are 
performing functional tests are using 
selenium 
#MM14NY
selenium test cases 
selenese vs phpunit 
test standard magento features 
test your custom features
gatling test cases 
scripted in scala 
normal visitor workflow 
randomized delays
gatling test cases 
specify number of simultaneous visitors and 
overall test length 
! 
for example…
gatling test cases should be set for the 
maximum simultaneous users you expect and a 
timeframe of 60-120 seconds 
#MM14NY
automated tests of magento should be fast - 
test each commit and receive pass/fail 
before you move to your next task 
#MM14NY
gatling test cases 
develop baseline at start of project 
! 
if tests are 20% slower than baseline, 
consider the test failed
what’s Next?
testing magento 1 sites 
can’t - unit testing 
can - functional testing 
must - performance testing
testing magento 
automated testing saves time, money & sanity
let’s keep talking 
what did I get wrong? 
TDD vs BDD? 
BeHat? 
@joshuaswarren / joshuawarren.com
behat, bdd vs tdd, unit testing in magento 1 - 
tweet at @Joshuaswarren with what you 
disagree with 
#MM14NY
but wait, there’s more! 
in-depth talk at phpworld 
november, washington dc 
world.phparch.com
spread the word 
educate our peers, managers and clients 
! 
summer 2015 - automated testing is the norm
spread the word 
Creatuity will be open sourcing our testing 
tools and test cases 
! 
foundation for fast, flexible, reusable set of 
functional and performance tests
coming soon to github - @joshuaswarren and 
@creatuity are releasing a foundation for 
performance and functional testing of 
magento 
#MM14NY
thank you! 
creatuity.com/mmny 
! 
@joshuaswarren

Weitere ähnliche Inhalte

Andere mochten auch

Continuous performance: Load testing for developers with gatling
Continuous performance: Load testing for developers with gatlingContinuous performance: Load testing for developers with gatling
Continuous performance: Load testing for developers with gatlingTim van Eijndhoven
 
TestWorks Conf Performance testing made easy with gatling - Guillaume Corré
TestWorks Conf Performance testing made easy with gatling - Guillaume CorréTestWorks Conf Performance testing made easy with gatling - Guillaume Corré
TestWorks Conf Performance testing made easy with gatling - Guillaume CorréXebia Nederland BV
 
Gatling Tool in Action at Devoxx 2012
Gatling Tool in Action at Devoxx 2012Gatling Tool in Action at Devoxx 2012
Gatling Tool in Action at Devoxx 2012slandelle
 
Démo Gatling au Performance User Group de Casablanca - 25 sept 2014
Démo Gatling au Performance User Group de Casablanca - 25 sept 2014Démo Gatling au Performance User Group de Casablanca - 25 sept 2014
Démo Gatling au Performance User Group de Casablanca - 25 sept 2014Benoît de CHATEAUVIEUX
 
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...Aman Kohli
 
Customer Scale: Stateless Sessions and Managing High-Volume Digital Services
Customer Scale: Stateless Sessions and Managing High-Volume Digital ServicesCustomer Scale: Stateless Sessions and Managing High-Volume Digital Services
Customer Scale: Stateless Sessions and Managing High-Volume Digital ServicesForgeRock
 
アドテク×Scala×パフォーマンスチューニング
アドテク×Scala×パフォーマンスチューニングアドテク×Scala×パフォーマンスチューニング
アドテク×Scala×パフォーマンスチューニングYosuke Mizutani
 

Andere mochten auch (8)

Continuous performance: Load testing for developers with gatling
Continuous performance: Load testing for developers with gatlingContinuous performance: Load testing for developers with gatling
Continuous performance: Load testing for developers with gatling
 
TestWorks Conf Performance testing made easy with gatling - Guillaume Corré
TestWorks Conf Performance testing made easy with gatling - Guillaume CorréTestWorks Conf Performance testing made easy with gatling - Guillaume Corré
TestWorks Conf Performance testing made easy with gatling - Guillaume Corré
 
Las palmas devops: Pruebas de carga web
Las palmas devops: Pruebas de carga webLas palmas devops: Pruebas de carga web
Las palmas devops: Pruebas de carga web
 
Gatling Tool in Action at Devoxx 2012
Gatling Tool in Action at Devoxx 2012Gatling Tool in Action at Devoxx 2012
Gatling Tool in Action at Devoxx 2012
 
Démo Gatling au Performance User Group de Casablanca - 25 sept 2014
Démo Gatling au Performance User Group de Casablanca - 25 sept 2014Démo Gatling au Performance User Group de Casablanca - 25 sept 2014
Démo Gatling au Performance User Group de Casablanca - 25 sept 2014
 
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
 
Customer Scale: Stateless Sessions and Managing High-Volume Digital Services
Customer Scale: Stateless Sessions and Managing High-Volume Digital ServicesCustomer Scale: Stateless Sessions and Managing High-Volume Digital Services
Customer Scale: Stateless Sessions and Managing High-Volume Digital Services
 
アドテク×Scala×パフォーマンスチューニング
アドテク×Scala×パフォーマンスチューニングアドテク×Scala×パフォーマンスチューニング
アドテク×Scala×パフォーマンスチューニング
 

Ähnlich wie Automated Testing Talk from Meet Magento New York 2014

Top tips to boost the conversion rate of a magento 2 e commerce store
Top tips to boost the conversion rate of a magento 2 e commerce storeTop tips to boost the conversion rate of a magento 2 e commerce store
Top tips to boost the conversion rate of a magento 2 e commerce storemagePoint
 
Automation testing: how tools are important?
Automation testing: how tools are important?Automation testing: how tools are important?
Automation testing: how tools are important?MD ISLAM
 
Drive More Traffic on Your Magento 2 eCommerce Store with Best Magento 2 SEO ...
Drive More Traffic on Your Magento 2 eCommerce Store with Best Magento 2 SEO ...Drive More Traffic on Your Magento 2 eCommerce Store with Best Magento 2 SEO ...
Drive More Traffic on Your Magento 2 eCommerce Store with Best Magento 2 SEO ...magePoint
 
How selenium can transform your qa career
How selenium can transform your qa careerHow selenium can transform your qa career
How selenium can transform your qa careerShama Ugale
 
Testing html5 meetup slideshare
Testing html5 meetup slideshareTesting html5 meetup slideshare
Testing html5 meetup slideshareMario Noble
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts pptRathna Priya
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts pptRathna Priya
 
Using AI-Powered Visual Tests to empower your tests
Using AI-Powered Visual Tests to empower your testsUsing AI-Powered Visual Tests to empower your tests
Using AI-Powered Visual Tests to empower your testsEran Barlev, ISTQB-CTFL
 
Getting Started with Visual Testing
Getting Started with Visual TestingGetting Started with Visual Testing
Getting Started with Visual TestingApplitools
 
Comprehensive Guide: How to Hire Certified Magento Developers in USA?
Comprehensive Guide: How to Hire Certified Magento Developers in USA?Comprehensive Guide: How to Hire Certified Magento Developers in USA?
Comprehensive Guide: How to Hire Certified Magento Developers in USA?EVRIG Solutions
 
Outsource Software Testing Services Company in US
Outsource Software Testing Services Company in USOutsource Software Testing Services Company in US
Outsource Software Testing Services Company in USjauhar khan
 
10 QA Pitfalls To Avoid When Developing A Mobile App
10 QA Pitfalls To Avoid When Developing A Mobile App10 QA Pitfalls To Avoid When Developing A Mobile App
10 QA Pitfalls To Avoid When Developing A Mobile AppGear Inc.
 
5 reasons you'll love to hate Agile Development
5 reasons you'll love to hate Agile Development5 reasons you'll love to hate Agile Development
5 reasons you'll love to hate Agile DevelopmentArin Sime
 
7 Things To Consider Before Selecting Any Magento Development Company
7 Things To Consider Before Selecting Any Magento Development Company7 Things To Consider Before Selecting Any Magento Development Company
7 Things To Consider Before Selecting Any Magento Development CompanyEVRIG Solutions
 
Why Automation Fails—in Theory and Practice
Why Automation Fails—in Theory and PracticeWhy Automation Fails—in Theory and Practice
Why Automation Fails—in Theory and PracticeTechWell
 
What is quality, and how do we build it in
What is quality, and how do we build it in What is quality, and how do we build it in
What is quality, and how do we build it in Maryam Umar
 

Ähnlich wie Automated Testing Talk from Meet Magento New York 2014 (20)

Top tips to boost the conversion rate of a magento 2 e commerce store
Top tips to boost the conversion rate of a magento 2 e commerce storeTop tips to boost the conversion rate of a magento 2 e commerce store
Top tips to boost the conversion rate of a magento 2 e commerce store
 
Magento 2 development
Magento 2 developmentMagento 2 development
Magento 2 development
 
Automation testing: how tools are important?
Automation testing: how tools are important?Automation testing: how tools are important?
Automation testing: how tools are important?
 
Drive More Traffic on Your Magento 2 eCommerce Store with Best Magento 2 SEO ...
Drive More Traffic on Your Magento 2 eCommerce Store with Best Magento 2 SEO ...Drive More Traffic on Your Magento 2 eCommerce Store with Best Magento 2 SEO ...
Drive More Traffic on Your Magento 2 eCommerce Store with Best Magento 2 SEO ...
 
How selenium can transform your qa career
How selenium can transform your qa careerHow selenium can transform your qa career
How selenium can transform your qa career
 
[TestWarez 2017] Zapomnij o jakości, skup się na szybkości
[TestWarez 2017] Zapomnij o jakości, skup się na szybkości[TestWarez 2017] Zapomnij o jakości, skup się na szybkości
[TestWarez 2017] Zapomnij o jakości, skup się na szybkości
 
Testing html5 meetup slideshare
Testing html5 meetup slideshareTesting html5 meetup slideshare
Testing html5 meetup slideshare
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Using AI-Powered Visual Tests to empower your tests
Using AI-Powered Visual Tests to empower your testsUsing AI-Powered Visual Tests to empower your tests
Using AI-Powered Visual Tests to empower your tests
 
Getting Started with Visual Testing
Getting Started with Visual TestingGetting Started with Visual Testing
Getting Started with Visual Testing
 
Comprehensive Guide: How to Hire Certified Magento Developers in USA?
Comprehensive Guide: How to Hire Certified Magento Developers in USA?Comprehensive Guide: How to Hire Certified Magento Developers in USA?
Comprehensive Guide: How to Hire Certified Magento Developers in USA?
 
Future of QA
Future of QAFuture of QA
Future of QA
 
Futureofqa
FutureofqaFutureofqa
Futureofqa
 
Outsource Software Testing Services Company in US
Outsource Software Testing Services Company in USOutsource Software Testing Services Company in US
Outsource Software Testing Services Company in US
 
10 QA Pitfalls To Avoid When Developing A Mobile App
10 QA Pitfalls To Avoid When Developing A Mobile App10 QA Pitfalls To Avoid When Developing A Mobile App
10 QA Pitfalls To Avoid When Developing A Mobile App
 
5 reasons you'll love to hate Agile Development
5 reasons you'll love to hate Agile Development5 reasons you'll love to hate Agile Development
5 reasons you'll love to hate Agile Development
 
7 Things To Consider Before Selecting Any Magento Development Company
7 Things To Consider Before Selecting Any Magento Development Company7 Things To Consider Before Selecting Any Magento Development Company
7 Things To Consider Before Selecting Any Magento Development Company
 
Why Automation Fails—in Theory and Practice
Why Automation Fails—in Theory and PracticeWhy Automation Fails—in Theory and Practice
Why Automation Fails—in Theory and Practice
 
What is quality, and how do we build it in
What is quality, and how do we build it in What is quality, and how do we build it in
What is quality, and how do we build it in
 

Mehr von Joshua Warren

Enhancing the Customer Experience with Chatbots
Enhancing the Customer Experience with ChatbotsEnhancing the Customer Experience with Chatbots
Enhancing the Customer Experience with ChatbotsJoshua Warren
 
Transforming the Customer Experience Across 100 Stores with Magento
Transforming the Customer Experience Across 100 Stores with MagentoTransforming the Customer Experience Across 100 Stores with Magento
Transforming the Customer Experience Across 100 Stores with MagentoJoshua Warren
 
Its Just Commerce - IRCE 2018
Its Just Commerce - IRCE 2018Its Just Commerce - IRCE 2018
Its Just Commerce - IRCE 2018Joshua Warren
 
Rural King Case Study from the Omnichannel Retail Summit
Rural King Case Study from the Omnichannel Retail SummitRural King Case Study from the Omnichannel Retail Summit
Rural King Case Study from the Omnichannel Retail SummitJoshua Warren
 
Avoiding Commerce Extinction: Lessons from Retail Dinosaurs
Avoiding Commerce Extinction: Lessons from Retail DinosaursAvoiding Commerce Extinction: Lessons from Retail Dinosaurs
Avoiding Commerce Extinction: Lessons from Retail DinosaursJoshua Warren
 
Building a Global B2B Empire: Using Magento to Power International Expansion
Building a Global B2B Empire: Using Magento to Power International ExpansionBuilding a Global B2B Empire: Using Magento to Power International Expansion
Building a Global B2B Empire: Using Magento to Power International ExpansionJoshua Warren
 
Magento 2 ERP Integration Best Practices: Microsoft Dynamics
Magento 2 ERP Integration Best Practices: Microsoft DynamicsMagento 2 ERP Integration Best Practices: Microsoft Dynamics
Magento 2 ERP Integration Best Practices: Microsoft DynamicsJoshua Warren
 
What's New With Magento 2?
What's New With Magento 2?What's New With Magento 2?
What's New With Magento 2?Joshua Warren
 
Magento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second CountsMagento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second CountsJoshua Warren
 
Magento 2 Development for PHP Developers
Magento 2 Development for PHP DevelopersMagento 2 Development for PHP Developers
Magento 2 Development for PHP DevelopersJoshua Warren
 
Pay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-All
Pay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-AllPay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-All
Pay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-AllJoshua Warren
 
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016Joshua Warren
 
How I Learned to Stop Worrying and Love Composer - php[world] 2015
How I Learned to Stop Worrying and Love Composer - php[world] 2015How I Learned to Stop Worrying and Love Composer - php[world] 2015
How I Learned to Stop Worrying and Love Composer - php[world] 2015Joshua Warren
 
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015Joshua Warren
 
Work Life Balance for Passionate Developers - Full Stack Toronto 2015 Edition
Work Life Balance for Passionate Developers - Full Stack Toronto 2015 EditionWork Life Balance for Passionate Developers - Full Stack Toronto 2015 Edition
Work Life Balance for Passionate Developers - Full Stack Toronto 2015 EditionJoshua Warren
 
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015Joshua Warren
 
pnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For You
pnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For Youpnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For You
pnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For YouJoshua Warren
 
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015Joshua Warren
 
PHPSpec & Behat: Two Testing Tools That Write Code For You (#phptek edition)
PHPSpec & Behat: Two Testing Tools That Write Code For You (#phptek edition)PHPSpec & Behat: Two Testing Tools That Write Code For You (#phptek edition)
PHPSpec & Behat: Two Testing Tools That Write Code For You (#phptek edition)Joshua Warren
 
Behavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWestBehavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWestJoshua Warren
 

Mehr von Joshua Warren (20)

Enhancing the Customer Experience with Chatbots
Enhancing the Customer Experience with ChatbotsEnhancing the Customer Experience with Chatbots
Enhancing the Customer Experience with Chatbots
 
Transforming the Customer Experience Across 100 Stores with Magento
Transforming the Customer Experience Across 100 Stores with MagentoTransforming the Customer Experience Across 100 Stores with Magento
Transforming the Customer Experience Across 100 Stores with Magento
 
Its Just Commerce - IRCE 2018
Its Just Commerce - IRCE 2018Its Just Commerce - IRCE 2018
Its Just Commerce - IRCE 2018
 
Rural King Case Study from the Omnichannel Retail Summit
Rural King Case Study from the Omnichannel Retail SummitRural King Case Study from the Omnichannel Retail Summit
Rural King Case Study from the Omnichannel Retail Summit
 
Avoiding Commerce Extinction: Lessons from Retail Dinosaurs
Avoiding Commerce Extinction: Lessons from Retail DinosaursAvoiding Commerce Extinction: Lessons from Retail Dinosaurs
Avoiding Commerce Extinction: Lessons from Retail Dinosaurs
 
Building a Global B2B Empire: Using Magento to Power International Expansion
Building a Global B2B Empire: Using Magento to Power International ExpansionBuilding a Global B2B Empire: Using Magento to Power International Expansion
Building a Global B2B Empire: Using Magento to Power International Expansion
 
Magento 2 ERP Integration Best Practices: Microsoft Dynamics
Magento 2 ERP Integration Best Practices: Microsoft DynamicsMagento 2 ERP Integration Best Practices: Microsoft Dynamics
Magento 2 ERP Integration Best Practices: Microsoft Dynamics
 
What's New With Magento 2?
What's New With Magento 2?What's New With Magento 2?
What's New With Magento 2?
 
Magento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second CountsMagento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second Counts
 
Magento 2 Development for PHP Developers
Magento 2 Development for PHP DevelopersMagento 2 Development for PHP Developers
Magento 2 Development for PHP Developers
 
Pay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-All
Pay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-AllPay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-All
Pay No Attention to the Project Manager Behind the Curtain: A Magento 2 Tell-All
 
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016
Magento 2 Integrations: ERPs, APIs, Webhooks & Rabbits! - MageTitansUSA 2016
 
How I Learned to Stop Worrying and Love Composer - php[world] 2015
How I Learned to Stop Worrying and Love Composer - php[world] 2015How I Learned to Stop Worrying and Love Composer - php[world] 2015
How I Learned to Stop Worrying and Love Composer - php[world] 2015
 
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
Magento 2 Dependency Injection, Interceptors, and You - php[world] 2015
 
Work Life Balance for Passionate Developers - Full Stack Toronto 2015 Edition
Work Life Balance for Passionate Developers - Full Stack Toronto 2015 EditionWork Life Balance for Passionate Developers - Full Stack Toronto 2015 Edition
Work Life Balance for Passionate Developers - Full Stack Toronto 2015 Edition
 
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
Magento 2 - An Intro to a Modern PHP-Based System - ZendCon 2015
 
pnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For You
pnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For Youpnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For You
pnwphp - PHPSpec & Behat: Two Testing Tools That Write Code For You
 
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
Magento 2 - An Intro to a Modern PHP-Based System - Northeast PHP 2015
 
PHPSpec & Behat: Two Testing Tools That Write Code For You (#phptek edition)
PHPSpec & Behat: Two Testing Tools That Write Code For You (#phptek edition)PHPSpec & Behat: Two Testing Tools That Write Code For You (#phptek edition)
PHPSpec & Behat: Two Testing Tools That Write Code For You (#phptek edition)
 
Behavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWestBehavior & Specification Driven Development in PHP - #OpenWest
Behavior & Specification Driven Development in PHP - #OpenWest
 

Kürzlich hochgeladen

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 

Kürzlich hochgeladen (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 

Automated Testing Talk from Meet Magento New York 2014

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. What you can, can’t and must test in Magento ! presented by joshua warren ! @joshuaSWarren
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. Don't worry about finding the perfect tools to test Magento. Just start testing. #MM14NY
  • 16.
  • 17. 75% of Magento developers surveyed are not conducting any automated testing of their Magento projects #MM14NY
  • 18. Less than 20% of developers not testing Magento aren't testing because they think Magento is too complex to test #MM14NY
  • 19. lack of budget is the #1 reason developers aren’t testing their magento projects #MM14NY
  • 20. Lack of knowledge is the 2nd most common reason for not performing automated testing of magento #MM14NY
  • 21. Lack of time is the 3rd most common reason for not performing automated testing of magento #MM14NY
  • 23.
  • 24. automated testing allows magento developers to focus on building new features #MM14NY
  • 25. with automated testing, bugs are found and fixed as part of development. #MM14NY
  • 26. one interruption to fix a bug that made it past QA costs the best developers 15 minutes of lost productivity #MM14NY
  • 27. SOURCE: ‘PROGRAMMER INTERRUPTED’ - http://blog.ninlabs.com/2013/01/programmer-interrupted/
  • 28. a well designed automated testing system reduces interruptions and increases productivity and happiness. #MM14NY
  • 29. types of tests used to test magento
  • 30. unit testing logical analytical great for ideal projects
  • 31.
  • 32. unit testing magento’s flexibility greatly complicates unit testing
  • 33. unit testing great for extensions github.com/EcomDev/EcomDev_PHPUnit @IvanChepurnyi
  • 34. it’s not that you can’t test magento - you can’t unit test magento, but there’s more to testing than just unit tests #MM14NY
  • 35. 100% of developers surveyed that are testing magento are using functional tests #MM14NY
  • 36. functional testing focuses on the entire site as a system doesn’t care what function is being called tests that the site works the way client wants
  • 37.
  • 38. with full test coverage, functional tests confirm that your magento site still works as you add new features #MM14NY
  • 39. one more thing… only 50% of developers surveyed are conducting performance testing ! performance testing is a must
  • 40. performance testing not just for sysadmins not just for front-end developers bad performance = bad sales
  • 41. performance testing backend developers don’t always remember that extensions, integrations and new features can slow the site down
  • 42. when testing your magento projects, include performance testing - poor performance is a bug #MM14NY
  • 43. slow code should be optimized or removed just like any other bug would be #MM14NY
  • 44. how to test magento
  • 45. testing servers bamboo - commercial, general purpose ! jenkins - open source, general purpose ! phpci - open source, PHP-focused
  • 46. only 1 developer reported using phpci for testing magento; 50% are using bamboo, 50% are using jenkins #MM14NY
  • 47. jenkins vs bamboo jenkins is free Bamboo $10 starter license ! Try both, pick whichever you like better
  • 48. which testing server you use isn’t important - the fact that you have a testing server and are testing is. #MM14NY
  • 49. 100% of developers who said they are performing functional tests are using selenium #MM14NY
  • 50.
  • 51. selenium test cases selenese vs phpunit test standard magento features test your custom features
  • 52.
  • 53. gatling test cases scripted in scala normal visitor workflow randomized delays
  • 54. gatling test cases specify number of simultaneous visitors and overall test length ! for example…
  • 55.
  • 56.
  • 57. gatling test cases should be set for the maximum simultaneous users you expect and a timeframe of 60-120 seconds #MM14NY
  • 58. automated tests of magento should be fast - test each commit and receive pass/fail before you move to your next task #MM14NY
  • 59. gatling test cases develop baseline at start of project ! if tests are 20% slower than baseline, consider the test failed
  • 61.
  • 62. testing magento 1 sites can’t - unit testing can - functional testing must - performance testing
  • 63. testing magento automated testing saves time, money & sanity
  • 64. let’s keep talking what did I get wrong? TDD vs BDD? BeHat? @joshuaswarren / joshuawarren.com
  • 65. behat, bdd vs tdd, unit testing in magento 1 - tweet at @Joshuaswarren with what you disagree with #MM14NY
  • 66. but wait, there’s more! in-depth talk at phpworld november, washington dc world.phparch.com
  • 67. spread the word educate our peers, managers and clients ! summer 2015 - automated testing is the norm
  • 68. spread the word Creatuity will be open sourcing our testing tools and test cases ! foundation for fast, flexible, reusable set of functional and performance tests
  • 69. coming soon to github - @joshuaswarren and @creatuity are releasing a foundation for performance and functional testing of magento #MM14NY
  • 70. thank you! creatuity.com/mmny ! @joshuaswarren