SlideShare a Scribd company logo
Chmouel Boudjnah!
OpenStack in Action // Spring 2014
The art of Software testing in OpenStack
Chmouel Boudjnah - @chmouel - eNovance
Chmouel Boudjnah - @chmouel - eNovance
About me
Chmouel Boudjnah - @chmouel - eNovance
About this session
Chmouel Boudjnah - @chmouel - eNovance
Software Testing
overview
Chmouel Boudjnah - @chmouel - eNovance
• Unit Testing
• Integration Testing
• Performance Testing
• Scalability Testing.
Different type of Testing
Chmouel Boudjnah - @chmouel - eNovance
• Pentesting
• Usability Testing
• Regression Testing
• Compatibility Testing.
More testing
Chmouel Boudjnah - @chmouel - eNovance
Methodologies
Chmouel Boudjnah - @chmouel - eNovance
• Code a bit the test.
• Start a bit of coding.
• Make the test pass.
• Repeat until the feature is implemented.
TDD
Chmouel Boudjnah - @chmouel - eNovance
• Business Driven Development
Introducing BDD
Chmouel Boudjnah - @chmouel - eNovance
• Business Driven Development
• Behaviour Driven Development
Introducing BDD
Chmouel Boudjnah - @chmouel - eNovance
• Business Driven Development
• Behaviour Driven Development
• BS Driven Development (i.e: Vaporware)
Introducing BDD
Chmouel Boudjnah - @chmouel - eNovance
• Business Driven Development
• Behaviour Driven Development
• BS Driven Development
• Some people get it confused with “Bourrinage
Driven Development”
Introducing BDD
Chmouel Boudjnah - @chmouel - eNovance
Methodology
“You shall not pass a commit before each iterations has been
fully tested”
Chmouel Boudjnah - @chmouel - eNovance
Unit Testing
Chmouel Boudjnah - @chmouel - eNovance
The five year old technology mashup.
Chmouel Boudjnah - @chmouel - eNovance
The five year old technology mashup.
"well it is just like when you turn the wheel before we
are going on a ride you test that it turns properly
before actually riding it. If it didn’t turn then that means
I may going to have a crash and have a big bobo.”
Noah Boudjnah
Chmouel Boudjnah - @chmouel - eNovance
• Swift 2371 unit tests
• Ceilometer 2583
• Heat 2710
• Keystone 3216
• Nova 10653
In OpenStack
Chmouel Boudjnah - @chmouel - eNovance
• Mostly for code styling
• flake8 for pep8 and common
errors
• Openstack hacking
Static code analysis.
Chmouel Boudjnah - @chmouel - eNovance
Tooling and Libraries
Chmouel Boudjnah - @chmouel - eNovance
Devstack
Chmouel Boudjnah - @chmouel - eNovance
• tox
• pbr
• testrunner
• coverage
Tools
Chmouel Boudjnah - @chmouel - eNovance
• testtools
• mock
• httppretty
• six
Libraries
Chmouel Boudjnah - @chmouel - eNovance
Integration tests
Chmouel Boudjnah - @chmouel - eNovance
• run against any OpenStack clouds
• auto discover features
• only OpenStack public interfaces
• Black box testing
• can be reused as load generation
• self tested
• around 2000 functional tests run on each commit iterations.
Tempest
Chmouel Boudjnah - @chmouel - eNovance
WhatTheStack? A Tool Based on Tempest to Verify your Deployments
Chmouel Boudjnah - @chmouel - eNovance
• external CI plug into openstack
infrastructure.
• able to vote +1 but not -1
• Usually used by vendors for drivers
testing in Neutron / Nova / Cinder
• Used as well for other distros (only
RedHat at the moment).
External CI
Chmouel Boudjnah - @chmouel - eNovance
Performances testing
Chmouel Boudjnah - @chmouel - eNovance
Performance testing moto
One shall always testing the underlying hardware
before even thinking about performance testing.
Erwan Velu - eNovance Tester allumni
Chmouel Boudjnah - @chmouel - eNovance
• at eNovance we have a tool called AHC which benchmark
underlying platform before every deliveries.
• tempest can be used for performance testing of the
software itself.
• There is OpenStack Rally as well a tool that automate the
full thing with nicely generated reports and such.
• Highly dependent of your deployment (i.e: your hardware).
Performance testing.
Chmouel Boudjnah - @chmouel - eNovance
That’s it

More Related Content

PDF
Build a Technical Infrastructure that Supports Innovation by Florian Motlik -...
PPTX
Automating Perl deployments with Hudson
PDF
Continuous testing and deployment in Perl (London.pm Technical Meeting Octobe...
PDF
Drupalcamp Simpletest
PDF
Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (BDD Lond...
PDF
Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (HUSTEF 2...
PPTX
Java and other open source solutions on windows azure
PDF
Porting your hadoop app to horton works hdp
Build a Technical Infrastructure that Supports Innovation by Florian Motlik -...
Automating Perl deployments with Hudson
Continuous testing and deployment in Perl (London.pm Technical Meeting Octobe...
Drupalcamp Simpletest
Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (BDD Lond...
Scaffolding a legacy app with BDD scenarios using SpecFlow/Cucumber (HUSTEF 2...
Java and other open source solutions on windows azure
Porting your hadoop app to horton works hdp

What's hot (10)

PDF
Make your CPAN module static installable
PPTX
Speed = $$$
PDF
Developing Resilient Cloud Native Apps with Spring Cloud
PPTX
Основы нагрузочного тестирования с инструментом Jmeter
PDF
Adding unit tests with tSQLt to the database deployment pipeline
PPTX
You don’t need DTAP + Backbase implementation - Amsterdam 17-12-2015
PDF
Spring Boot
PPT
Extending Continuous Integration
PDF
Mistral Atlanta design session
PPTX
Load tests using Visual Studio 2013 and Azure
Make your CPAN module static installable
Speed = $$$
Developing Resilient Cloud Native Apps with Spring Cloud
Основы нагрузочного тестирования с инструментом Jmeter
Adding unit tests with tSQLt to the database deployment pipeline
You don’t need DTAP + Backbase implementation - Amsterdam 17-12-2015
Spring Boot
Extending Continuous Integration
Mistral Atlanta design session
Load tests using Visual Studio 2013 and Azure
Ad

Similar to Art of unittesting in OpenStack - Paris 2014 (20)

PDF
Git with Swift Atlanta 2014
KEY
Driving application development through behavior driven development
PDF
Olli-Pekka Puolitaival - Model-Based Testing for Integration Testing in Real ...
PDF
Olli-Pekka Puolitaival - Model-Based Tested for Integration Tested in Real Pr...
PDF
Continuous Deployment To The Cloud @DevoxxPL 2017
PPTX
JNation - Integration Testing from the Trenches Rebooted
PPT
Ch11lect1 ud
PPT
Test Driven Development using QUnit
PPTX
Automating Deployments with Deployer - php[world] 2018
PPTX
Ansible module development 101
PPTX
Automated php unit testing in drupal 8
PPTX
Westrich spock-assets-gum
PPTX
Automated testing on steroids – Trick for managing test data using Docker sna...
PDF
Continuous Deployment of your Application - SpringOne Tour Dallas
PPTX
Angular CLI : HelloWorld
PDF
Unit testing in Unity
PDF
Continuous Deployment of your Application @jSession#5
PPTX
Quickly Testing Legacy Cpp Code - ACCU Cambridge 2019
PDF
Technical Lessons Learned Turning the Agile Dials to Eleven!
PDF
Continuous Integration Testing Techniques to Improve Chef Cookbook Quality
Git with Swift Atlanta 2014
Driving application development through behavior driven development
Olli-Pekka Puolitaival - Model-Based Testing for Integration Testing in Real ...
Olli-Pekka Puolitaival - Model-Based Tested for Integration Tested in Real Pr...
Continuous Deployment To The Cloud @DevoxxPL 2017
JNation - Integration Testing from the Trenches Rebooted
Ch11lect1 ud
Test Driven Development using QUnit
Automating Deployments with Deployer - php[world] 2018
Ansible module development 101
Automated php unit testing in drupal 8
Westrich spock-assets-gum
Automated testing on steroids – Trick for managing test data using Docker sna...
Continuous Deployment of your Application - SpringOne Tour Dallas
Angular CLI : HelloWorld
Unit testing in Unity
Continuous Deployment of your Application @jSession#5
Quickly Testing Legacy Cpp Code - ACCU Cambridge 2019
Technical Lessons Learned Turning the Agile Dials to Eleven!
Continuous Integration Testing Techniques to Improve Chef Cookbook Quality
Ad

Recently uploaded (20)

PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
MCP Security Tutorial - Beginner to Advanced
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
PDF
Autodesk AutoCAD Crack Free Download 2025
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
iTop VPN Crack Latest Version Full Key 2025
PDF
Types of Token_ From Utility to Security.pdf
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PDF
Time Tracking Features That Teams and Organizations Actually Need
PPTX
"Secure File Sharing Solutions on AWS".pptx
PDF
Website Design Services for Small Businesses.pdf
PPTX
Trending Python Topics for Data Visualization in 2025
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
Wondershare Recoverit Full Crack New Version (Latest 2025)
Designing Intelligence for the Shop Floor.pdf
MCP Security Tutorial - Beginner to Advanced
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
Autodesk AutoCAD Crack Free Download 2025
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
iTop VPN Crack Latest Version Full Key 2025
Types of Token_ From Utility to Security.pdf
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
How to Use SharePoint as an ISO-Compliant Document Management System
Time Tracking Features That Teams and Organizations Actually Need
"Secure File Sharing Solutions on AWS".pptx
Website Design Services for Small Businesses.pdf
Trending Python Topics for Data Visualization in 2025
Advanced SystemCare Ultimate Crack + Portable (2025)
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
Oracle Fusion HCM Cloud Demo for Beginners

Art of unittesting in OpenStack - Paris 2014

  • 1. Chmouel Boudjnah! OpenStack in Action // Spring 2014 The art of Software testing in OpenStack Chmouel Boudjnah - @chmouel - eNovance
  • 2. Chmouel Boudjnah - @chmouel - eNovance About me
  • 3. Chmouel Boudjnah - @chmouel - eNovance About this session
  • 4. Chmouel Boudjnah - @chmouel - eNovance Software Testing overview
  • 5. Chmouel Boudjnah - @chmouel - eNovance • Unit Testing • Integration Testing • Performance Testing • Scalability Testing. Different type of Testing
  • 6. Chmouel Boudjnah - @chmouel - eNovance • Pentesting • Usability Testing • Regression Testing • Compatibility Testing. More testing
  • 7. Chmouel Boudjnah - @chmouel - eNovance Methodologies
  • 8. Chmouel Boudjnah - @chmouel - eNovance • Code a bit the test. • Start a bit of coding. • Make the test pass. • Repeat until the feature is implemented. TDD
  • 9. Chmouel Boudjnah - @chmouel - eNovance • Business Driven Development Introducing BDD
  • 10. Chmouel Boudjnah - @chmouel - eNovance • Business Driven Development • Behaviour Driven Development Introducing BDD
  • 11. Chmouel Boudjnah - @chmouel - eNovance • Business Driven Development • Behaviour Driven Development • BS Driven Development (i.e: Vaporware) Introducing BDD
  • 12. Chmouel Boudjnah - @chmouel - eNovance • Business Driven Development • Behaviour Driven Development • BS Driven Development • Some people get it confused with “Bourrinage Driven Development” Introducing BDD
  • 13. Chmouel Boudjnah - @chmouel - eNovance Methodology “You shall not pass a commit before each iterations has been fully tested”
  • 14. Chmouel Boudjnah - @chmouel - eNovance Unit Testing
  • 15. Chmouel Boudjnah - @chmouel - eNovance The five year old technology mashup.
  • 16. Chmouel Boudjnah - @chmouel - eNovance The five year old technology mashup. "well it is just like when you turn the wheel before we are going on a ride you test that it turns properly before actually riding it. If it didn’t turn then that means I may going to have a crash and have a big bobo.” Noah Boudjnah
  • 17. Chmouel Boudjnah - @chmouel - eNovance • Swift 2371 unit tests • Ceilometer 2583 • Heat 2710 • Keystone 3216 • Nova 10653 In OpenStack
  • 18. Chmouel Boudjnah - @chmouel - eNovance • Mostly for code styling • flake8 for pep8 and common errors • Openstack hacking Static code analysis.
  • 19. Chmouel Boudjnah - @chmouel - eNovance Tooling and Libraries
  • 20. Chmouel Boudjnah - @chmouel - eNovance Devstack
  • 21. Chmouel Boudjnah - @chmouel - eNovance • tox • pbr • testrunner • coverage Tools
  • 22. Chmouel Boudjnah - @chmouel - eNovance • testtools • mock • httppretty • six Libraries
  • 23. Chmouel Boudjnah - @chmouel - eNovance Integration tests
  • 24. Chmouel Boudjnah - @chmouel - eNovance • run against any OpenStack clouds • auto discover features • only OpenStack public interfaces • Black box testing • can be reused as load generation • self tested • around 2000 functional tests run on each commit iterations. Tempest
  • 25. Chmouel Boudjnah - @chmouel - eNovance WhatTheStack? A Tool Based on Tempest to Verify your Deployments
  • 26. Chmouel Boudjnah - @chmouel - eNovance • external CI plug into openstack infrastructure. • able to vote +1 but not -1 • Usually used by vendors for drivers testing in Neutron / Nova / Cinder • Used as well for other distros (only RedHat at the moment). External CI
  • 27. Chmouel Boudjnah - @chmouel - eNovance Performances testing
  • 28. Chmouel Boudjnah - @chmouel - eNovance Performance testing moto One shall always testing the underlying hardware before even thinking about performance testing. Erwan Velu - eNovance Tester allumni
  • 29. Chmouel Boudjnah - @chmouel - eNovance • at eNovance we have a tool called AHC which benchmark underlying platform before every deliveries. • tempest can be used for performance testing of the software itself. • There is OpenStack Rally as well a tool that automate the full thing with nicely generated reports and such. • Highly dependent of your deployment (i.e: your hardware). Performance testing.
  • 30. Chmouel Boudjnah - @chmouel - eNovance That’s it