O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Open Source Lisbon 2018 - Benoit Dumont & Antoine Craske

33 visualizações

Publicada em

Cerberus, an open-source integrated testing solution from retail player La Redoute allowing daily web platform release.

Publicada em: Tecnologia
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

Open Source Lisbon 2018 - Benoit Dumont & Antoine Craske

  1. 1. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: Automated Tool for Continuous Testing
  2. 2. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont How La Redoute deploy its web platform 4 times a week following a 5000+ testcases campaign Cerberus: An Automated Tool for Continuous Testing
  3. 3. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Agenda • Context • Release Process • Framework added value • Conclusions Cerberus: An Automated Tool for Continuous Testing
  4. 4. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont La Redoute in a few figures and its context
  5. 5. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing La Redoute Business 7 millions of unique visitors per month (Top 10 of France most visited)​ ​99% de notority on 18 to 65 years old 90% of Business on Web channel (35% on mobile)​ ​3 millions € Turnover per day on Web channel Sales period ​ 1er day of sales : 9 millions visitors​ Traffic Peak : 3000 req/s application & 25 000 req/s media​ Web channel Turnover: 10 millions €
  6. 6. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing Context • Migration of .fr to unified web platform in 2014 • Key need for agility on the web platform • Move to 4 releases per week (vs 1 every 5 weeks) • « extreme Programming » development team • Unique web platform • 10 countries business support • Multi-devices – responsive (m./www.) and apps
  7. 7. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Daily Release Process
  8. 8. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing D-1 D D+1 Preview Pre-Production PROD 0h 0h11h 14h12h30 18h 3h
  9. 9. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing D-1 D D+1 Preview Pre-Production PROD 0h 0h11h 14h12h30 18h 3h Development & daily update of Preview + Regression Testing Selection and freeze of tickets until 11H AM 1 2
  10. 10. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing D-1 D D+1 Preview Pre-Production PROD 0h 0h11h 14h12h30 18h 3h Development & daily update of Preview + Regression Testing Selection and freeze of tickets until 11H AM Deploy to PREPROD of selected tickets. Start of campaign at 12H30 AM End of campaign and start of analysis at 14H PM 1 2 3 4
  11. 11. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing D-1 D D+1 Preview Pre-Production PROD 0h 0h11h 14h12h30 18h 3h Development & daily update of Preview + Regression Testing Selection and freeze of tickets until 11H AM Deploy to PREPROD of selected tickets. Start of campaign at 12H30 AM End of campaign and start of analysis at 14H PM End of analysis and GO/NOGO for 18H PM PROD deploy at 3H AM 1 2 3 4 5 6
  12. 12. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Results
  13. 13. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing Results • 4 releases per week • Regression tests on continuous integration process. • Around 5 300 non regression tests executed in around 70 minutes, twice a day. • Growing velocity of testcase creation over time (thanks to use of factorisation)
  14. 14. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Framework Added Value
  15. 15. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing Fast and reliable execution Execution analysis quick and easy Test cases optimized maintenance
  16. 16. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing Fast and Reliable Executions • Queue management of the executions • Easy restart of execution from GUI • Automatic restart • Dynamic test data that allow parallel executions • • Campaign management per requirement
  17. 17. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing Quick and Easy Analysis • Modern GUI easy to use • Snapshot & traces • Interfaces with ticketing systems for optimum sharing with DEV teams • Test Case redaction can be done by business teams. • Makes the execution results easy to understand.
  18. 18. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing Test Case Optimized Maintenance • Variabilisation on test cases with Country and Environment management • Testcase steps Factorisation • Transversal Object management accross all testcases (object libraries)
  19. 19. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Inside Cerberus
  20. 20. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing • Development started in Redoute en 2011 and moved to Open Source since 2013. • Code source & documentation available on github https://github.com/cerberustesting/cerberus-source • More than 5000 commits by 23 contributors (4 core) • Centralized test case repository • Multi-technologies robot automation (Web, Mobile Application, Fat GUI, HTTP, SOAP, REST, SQL…) • Multi-environment (DEV, QA, UAT, PROD….) • Multi-country (FR, UK, RU, IT, PL, …)
  21. 21. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing Architecture API Layer Database Layer Services Layer Selenium Server Appium Server Sikuli Server CerberusCerberus RobotRobot ApplicationsApplications user
  22. 22. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing • Executions can be triggered from any scheduler • Via 1 a REST API, $U, cron, Jenkins, … • Single testcase execution or full campaign • Queuing Management • CI / CD Integration under Jenkins • Jenkins plugin • OK/KO for go/no go • Ease of ticket opening • Inside Mantis or Redmine • Ticket information from Test Case Executions • • Centreon Interface, ES/Kibana push for specific dashboard • • Can read and write in any databases •
  23. 23. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Conclusion
  24. 24. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont Cerberus: An Automated Tool for Continuous Testing An open source community that grow in order to improve the framework Regular roadmap meeting to share best practice accross main users Main users :
  25. 25. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont THANK YOU!
  26. 26. ( )Antoine Craske Dev Lead @ La Redoute( )IT Study Director @La Redoute Benoit Dumont

×