SlideShare a Scribd company logo
STAMP
Software testing amplification to increase quality
in DevOps
1
2
DevOps
3
DevOps
Test assets are available
BUT
They are manually developed
and their quality is not sufficient
4
DevOps
The main objective of STAMP is to
automatically transform existing
test assets in order to detect
regression bugs before
production and drive down the
cost of software testing.
5
STAMP in DevOps
Continuous test amplification
6
Continuous test amplification
7
behav. diff.
Continuous test amplification
8
behav. diff.
Continuous test amplification
9
behav. diff. perf. diff.
Continuous test amplification
10
behav. diff. perf. diff.
Continuous test amplification
11
behav. diff. perf. diff.
Unit test cases amplification
12
Program
P
Input space Output space
state
Unit test cases amplification
13
Program
P
Input space Output space
state
DSpot: amplification of JUnit test suites
14
original test suite and
program under test
update in the program
under test
P
DSpot
TS
P'
TS++
DSpot
•First experiments with amplification
•Automatic transformation of Junit test cases
15
P
TS
P'
TS+
search-based
input space
amplification
observation
space
amplification
run and look
for differences
TS++
Search-based input space amplification
• Mutate existing test cases
• transform literal values
• replace literal values by others found in the scope
• add new invocations to methods not well covered
• create new objects
• Search-based
• ‘stack’ transformations iteratively
• select the ones that have a good fitness (e.g. cover new
branches)
16
Observation space amplification
• Remove all assertions from original test cases
• keep invocations that can be inside the assertion
• Add new observation points
• run all test cases on original program
• record all values that can be observed (getters, is_*, etc.)
• Filter new observation points
• several runs of all test cases with observation points on
the original program
• discard all points that vary (e.g., OS-dependent values,
IO, etc.)
17
Example
18
public void testSearch() {
final ArrayStack<E> stack = makeObject();
stack.push(((E)("First Item")));
stack.push(((E)("Second Item")));
assertEquals("Top item is 'Second Item'", 1, stack.search("Second Item"));
assertEquals("Next Item is 'First Item'", 2, stack.search("First Item"));
assertEquals("Cannot find 'Missing Item'", -1, stack.search("Missing Item"));}
public void testSearch_cf5() {
final ArrayStack<E> stack = makeObject();
stack.push(((E)("First Item")));
stack.push(((E)("Second Item")));
E o_5 = stack.peek();
assertFalse(((java.lang.String)o_5).isEmpty());
E o_6 = stack.pop();
assertFalse(((java.lang.String)o_6).isEmpty());
Object o_7_0 = stack.search("Second Item");
Object o_9_0 = stack.search("First Item");
assertEquals("Cannot find 'Missing Item'", -1, stack.search("Missing Item"));
assertEquals(((java.lang.String)o_5).length(), 11);
assertEquals(((java.lang.String)o_6).length(), 11);}
new calls and asserts
extracted from asserts
new asserts
Methodology
19
Unit test ampli
Config. test ampli
Online test ampli
Methodology
20
Micro service
architecture
Unit test ampli
Config. test ampli
Online test ampli
Methodology
21
Micro service
architecture
Unit test ampli
Config. test ampli
Online test ampli
Information
management
Software
quality
Cloud
computing
E-Health
Smart cities
STAMP
•3-year project
•9 EU partners
•Full OSS
•Starts 01/12/16
22

More Related Content

PDF
Python unittest
PDF
Python-nose: A unittest-based testing framework for Python that makes writing...
ODP
STAMP: Software Testing Amplification in DevOps, Etienne Sauvage, OW2con'17
 
PDF
STAMP ActiveEon Use Case at Telecom Valley Dec. 2018
ODP
Pyunit
PDF
Stamp Project presentation at OW2con'17
PDF
Golang dot-testing-lite
PDF
STAMP at Open Cloud Forum by OW2 2017
Python unittest
Python-nose: A unittest-based testing framework for Python that makes writing...
STAMP: Software Testing Amplification in DevOps, Etienne Sauvage, OW2con'17
 
STAMP ActiveEon Use Case at Telecom Valley Dec. 2018
Pyunit
Stamp Project presentation at OW2con'17
Golang dot-testing-lite
STAMP at Open Cloud Forum by OW2 2017

What's hot (20)

PDF
Modern Python Testing
ODP
Python unit testing
PPTX
Object oriented analysis and design flexible software
PDF
Mt s12 test_execution
PDF
Villegas first pacsec_2016
PDF
Be smart when testing your Akka code
PPTX
What's new in C# 8.0 (beta)
PDF
SophiaConf 2018 - P. Urso (Activeeon)
PDF
Akka Testkit Patterns
PPTX
Oleksandr Valetskyy - Increase the quality of your code with property-based t...
PDF
Agile Swift
PDF
PDF
TestR: generating unit tests for R internals
PPTX
Unit Testing with Python
KEY
Agile Iphone Development
KEY
XpUg Coding Dojo: KataYahtzee in Ocp way
PDF
Scaffolding with JMock
PDF
The Ring programming language version 1.6 book - Part 8 of 189
PDF
Unit testing on embedded target with C++Test
PDF
Reactive programming in PHP
Modern Python Testing
Python unit testing
Object oriented analysis and design flexible software
Mt s12 test_execution
Villegas first pacsec_2016
Be smart when testing your Akka code
What's new in C# 8.0 (beta)
SophiaConf 2018 - P. Urso (Activeeon)
Akka Testkit Patterns
Oleksandr Valetskyy - Increase the quality of your code with property-based t...
Agile Swift
TestR: generating unit tests for R internals
Unit Testing with Python
Agile Iphone Development
XpUg Coding Dojo: KataYahtzee in Ocp way
Scaffolding with JMock
The Ring programming language version 1.6 book - Part 8 of 189
Unit testing on embedded target with C++Test
Reactive programming in PHP
Ad

Viewers also liked (20)

PDF
Open Development Analytics, a step beyond in project transparency
 
PDF
GPCE16 Poster: Automatic Non-functional Testing of Code Generators Families
PDF
DevOps feedback loops
PPTX
GPCE16: Automatic Non-functional Testing of Code Generators Families
PDF
Devops the Microsoft Way
PDF
DevOps: A Culture Transformation, More than Technology
PDF
OW2 Open Source Community Technology Council Update, OW2con'16, Paris.
 
PDF
Internet Threats and Risk Mitigation
PDF
Using Online, Interactive And Web 2.0 Technologies In Careers Work
PDF
erocci - a scalable model-driven API framework, OW2con'16, Paris.
 
PDF
OCCIware project and OCCI standard presented at China Cloud Computing & Stand...
 
PPT
The psychophysiology of tobacco use and craving
DOC
Wildi 2009 Resume
PPT
Social media knockdown
PDF
POSS2016Nov16-The Open Source Software Value Chain
 
PPTX
Damselfish
PPT
Chapter 2 power point
PDF
Programming Language Final PPT
PPTX
Libby's Tips for Getting Unstuck
PPT
2013 cch basic principles ch12
Open Development Analytics, a step beyond in project transparency
 
GPCE16 Poster: Automatic Non-functional Testing of Code Generators Families
DevOps feedback loops
GPCE16: Automatic Non-functional Testing of Code Generators Families
Devops the Microsoft Way
DevOps: A Culture Transformation, More than Technology
OW2 Open Source Community Technology Council Update, OW2con'16, Paris.
 
Internet Threats and Risk Mitigation
Using Online, Interactive And Web 2.0 Technologies In Careers Work
erocci - a scalable model-driven API framework, OW2con'16, Paris.
 
OCCIware project and OCCI standard presented at China Cloud Computing & Stand...
 
The psychophysiology of tobacco use and craving
Wildi 2009 Resume
Social media knockdown
POSS2016Nov16-The Open Source Software Value Chain
 
Damselfish
Chapter 2 power point
Programming Language Final PPT
Libby's Tips for Getting Unstuck
2013 cch basic principles ch12
Ad

Similar to Improving software quality and devop automation with STAMP, OW2con'16, Paris. (20)

PDF
Property Based Testing in PHP
PPTX
PPT
API Performance Testing
PDF
Unit test-using-spock in Grails
PPT
3 j unit
PDF
We Are All Testers Now: The Testing Pyramid and Front-End Development
PPT
Unit testing with Spock Framework
PPTX
Testing in Python: doctest and unittest
PPTX
PPTX
TDD - Test Driven Dvelopment | Test First Design
PPTX
Test in action week 2
PPTX
Testing in Python: doctest and unittest (Updated)
PDF
Testing in Django
PPTX
Unit Testing with JUnit4 by Ravikiran Janardhana
PPT
Getting Started with Test-Driven Development at Midwest PHP 2021
PDF
Effective testing with pytest
PPTX
JUnit 5 - The Next Generation of JUnit - Ted's Tool Time
PPTX
TDD Training
PDF
"Formal Verification in Java" by Shura Iline, Vladimir Ivanov @ JEEConf 2013,...
PPTX
SE2018_Lec 20_ Test-Driven Development (TDD)
Property Based Testing in PHP
API Performance Testing
Unit test-using-spock in Grails
3 j unit
We Are All Testers Now: The Testing Pyramid and Front-End Development
Unit testing with Spock Framework
Testing in Python: doctest and unittest
TDD - Test Driven Dvelopment | Test First Design
Test in action week 2
Testing in Python: doctest and unittest (Updated)
Testing in Django
Unit Testing with JUnit4 by Ravikiran Janardhana
Getting Started with Test-Driven Development at Midwest PHP 2021
Effective testing with pytest
JUnit 5 - The Next Generation of JUnit - Ted's Tool Time
TDD Training
"Formal Verification in Java" by Shura Iline, Vladimir Ivanov @ JEEConf 2013,...
SE2018_Lec 20_ Test-Driven Development (TDD)

More from OW2 (20)

PDF
OW2 and RIOS teaming up to boost the open source impact, Nov. 2022 in Roma
 
PDF
The Open Source Good Governance Initiative presented at RIOS OS Week, Nov. 20...
 
PDF
GLPi v.10, les fonctionnalités principales et l'offre cloud
 
PDF
Centreon: superviser le Cloud et le Legacy à partir d'une même plateforme, po...
 
PDF
FusionIAM : la gestion des identités et des accés open source
 
PDF
OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...
 
PDF
SFScon'20 Bringing the User into the Equation
 
PDF
Towards a sustainable solution to open source sustainability, OW2online20, Ju...
 
PDF
Advanced proactive and polymorphing cloud application adaptation with MORPHEM...
 
PDF
Open Source governance and the Eclipse Foundation, OW2online, June 2020
 
PDF
Open source contribution policies, OW2online, June 2020
 
PDF
Software development at scale, pandemic lockdown and oss ecosystems, OW2onlin...
 
PDF
Overview of the OpenChain Reference Tooling Work Group, OW2online20, June 2020
 
PDF
Open Source Compliance at Orange, OW2online, June 2020
 
PDF
Ideas, methods and tools for OSS Compliance assessment, OW2online, June 2020
 
PDF
Intelligent package management with FASTEN, OW2online, June 2020
 
PDF
DECODER, a Smarter Environment for DevOps Teams , OW2online, June 2020
 
PDF
Enabling DevOps for IoT software development, powered by Open Source, OW2onli...
 
PDF
Upcoming Challenges in Artificial Intelligence Research and Development, OW2o...
 
PDF
Cacti and Big Data at Orange France, OW2online, June 2020
 
OW2 and RIOS teaming up to boost the open source impact, Nov. 2022 in Roma
 
The Open Source Good Governance Initiative presented at RIOS OS Week, Nov. 20...
 
GLPi v.10, les fonctionnalités principales et l'offre cloud
 
Centreon: superviser le Cloud et le Legacy à partir d'une même plateforme, po...
 
FusionIAM : la gestion des identités et des accés open source
 
OW2 Association Européenne aux racines grenobloises, transformer l'industrie ...
 
SFScon'20 Bringing the User into the Equation
 
Towards a sustainable solution to open source sustainability, OW2online20, Ju...
 
Advanced proactive and polymorphing cloud application adaptation with MORPHEM...
 
Open Source governance and the Eclipse Foundation, OW2online, June 2020
 
Open source contribution policies, OW2online, June 2020
 
Software development at scale, pandemic lockdown and oss ecosystems, OW2onlin...
 
Overview of the OpenChain Reference Tooling Work Group, OW2online20, June 2020
 
Open Source Compliance at Orange, OW2online, June 2020
 
Ideas, methods and tools for OSS Compliance assessment, OW2online, June 2020
 
Intelligent package management with FASTEN, OW2online, June 2020
 
DECODER, a Smarter Environment for DevOps Teams , OW2online, June 2020
 
Enabling DevOps for IoT software development, powered by Open Source, OW2onli...
 
Upcoming Challenges in Artificial Intelligence Research and Development, OW2o...
 
Cacti and Big Data at Orange France, OW2online, June 2020
 

Recently uploaded (20)

PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
August Patch Tuesday
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Spectroscopy.pptx food analysis technology
PDF
Approach and Philosophy of On baking technology
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Group 1 Presentation -Planning and Decision Making .pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
TLE Review Electricity (Electricity).pptx
MIND Revenue Release Quarter 2 2025 Press Release
Advanced methodologies resolving dimensionality complications for autism neur...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Unlocking AI with Model Context Protocol (MCP)
August Patch Tuesday
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Tartificialntelligence_presentation.pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
cloud_computing_Infrastucture_as_cloud_p
Diabetes mellitus diagnosis method based random forest with bat algorithm
Spectroscopy.pptx food analysis technology
Approach and Philosophy of On baking technology
Heart disease approach using modified random forest and particle swarm optimi...
1. Introduction to Computer Programming.pptx
Digital-Transformation-Roadmap-for-Companies.pptx

Improving software quality and devop automation with STAMP, OW2con'16, Paris.