SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

Destacado

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
slandelle
 

Destacado (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×パフォーマンスチューニング
 

Similar a Automated Testing Talk from Meet Magento New York 2014

[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
Stowarzyszenie Jakości Systemów Informatycznych (SJSI)
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
Rathna Priya
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
Rathna Priya
 

Similar a 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
 

Más de 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 - #OpenWest
Joshua Warren
 

Más de 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
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

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