Climate Impact of Software Testing

Kari Kakkonen
Kari KakkonenAuthor and CEO at Dragons Out Oy, Lead Consultant at Knowit, Treasurer at Finnish Software Testing Board à Dragons Out Oy, Knowit Solutions Oy
Climate Impact of Software Testing
Kari Kakkonen
https://www.linkedin.com/in/karikakkonen/
Dragons Out Oy & Knowit Solutions Oy
SEETEST Bucharest
20.9.2023
© Dragons Out Oy & Knowit Solutions Oy 1
ROLES
• Knowit Solutions Oy, Director of Training and
Competences, Lead Consultant, Trainer and
Coach
• Children’s and testing author at Dragons Out
Oy
• TMMi, Board of Directors
• Treasurer of Finnish Software Testing Board
(FiSTB)
ACHIEVEMENTS
• Tester of the Year in Finland 2021
• EuroSTAR Testing Excellence Award 2021
• Exemplary DevOps Instructor Award 2023 by
DASA
• ISTQB Executive Committee 2015-2021
• Influencing testing since 1996
• Ranked in 100 most influential IT persons in
Finland (Tivi magazine)
• Great number of presentations in Finnish and
international conferences
• TestausOSY/FAST founding member.
• Co-author of Agile Testing Foundations book
• Regular blogger in Tivi-magazine
Kari Kakkonen, Lead Testing Consultant
SERVICES
• ISTQB Advanced, Foundation and Agile Testing
• A4Q AI and Software Testing
• Knowit Quality Professional
• DASA DevOps
• Quality & Test process and organization development,
Metrics, TMMi and other assessments
• Agile testing, Scrum, Kanban, Lean
• Leadership
• Test automation, Mobile, Cloud, DevOps, AI
• Quality, cost, benefits
EDUCATION
• ISTQB Expert Level Test Management & Advanced Full
& Agile Tester certified
• DASA DevOps, Scrum Master and SAFe certified
• TMMi Professional, Assessor, Process Improver certified
• SPICE provisionary assessor certified
• M.Sc.(Eng), Helsinki University of Technology (present Aalto
University), Otaniemi, Espoo
• Marketing studies, University of Wisconsin-Madison,
the USA.
BUSINESS DOMAINS
Wide spread of business domain knowledge: Embedded,
industry, public, training, telecommunications, commerce,
Insurance, banking, pension.
20.9.2023 2
twitter.com/kkakkonen
Dragonsout.com
MORE INFORMATION
linkedin.com/in/karikakkonen/
© Copyright Knowit Trainings 2023
A Nordic powerhouse
for digital solutions
4 400+
Experts
6 countries
SE, NO, FI, DK, DE, PL
613 MEUR
Combined turnover 2022
4 business areas
Solutions, Experience, Connectivity and Insight
Nordic ESG-ambassador
Clear vision to accelerate the UN sustainability agenda
The book project ”Dragons Out!”
• Mission
• “Software testing brought to children”
• Book
• Author Kari Kakkonen
• Illustrator Adrienn Széll
• Text and illustration rights Dragons Out Oy
• In Finnish, English, Polish, French and growing
• For ages of 10-99
• Free “Dragon lesson in software testing”
presentation under Creative Commons –license
• Translated to 20 languages!
• More info: www.dragonsout.com
• Also other books coming out
4
ISTQB GLOBAL PRESENCE
• Number of exams
administered: over 1,2 million
• Number of certifications
issued: 845,000
• In 130 countries
TMMi for test improvement in all kinds of testing,
including agile and DevOps
Agenda
• Green ICT
• Green Testing
• Testing measures carbon
footprint
• Minimize
carbon footprint
of test environments
• Minimize
carbon footprint
of testing
• What next?
© Dragons Out Oy & Knowit Solutions Oy 7
Green ICT
© Dragons Out Oy & Knowit Solutions Oy 8
Climate change
• Climate change has been a
major topic in political debate in
recent years.
• The Paris climate conference
(COP21) in 2015 set a target of
limiting global warming to below
1.5°C compared to pre-industrial
levels.
© Dragons Out Oy 9
United Nations Sustainable Development Goals
Green ICT
“Green ICT is the study and practice of using computing resources
efficiently and effectively with minimal or no impact on the
environment.”
Handbook of Research on Green ICT, B. Unhelkar
“To combat climate change, all viable avenues must be explored, and
the ICT industry must also play a role.”
Green Code, Janne Kalliola
© Dragons Out Oy 11
Carbon footprint and handprint
“A carbon footprint is the total amount of greenhouse gases (including
carbon dioxide and methane) that are generated by our actions.”
Nature.org
“A carbon handprint is the opposite of a footprint. It recognises the
actions you take to have a positive impact on the climate, over and
above reducing your own carbon footprint if you do enough of these
they might even outweigh the size of your carbon footprint.”
Go-positive.co.uk
© Dragons Out Oy 12
Towards carbon handprint
© Dragons Out Oy & Knowit Solutions Oy 13
Carbon
footprint
Minimize
carbon
footprint
Carbon
handprint
Green Testing
© Dragons Out Oy & Knowit Solutions Oy 14
Green Testing can help
• Testing can’t change the world of ICT on its own
• But
• Testing can measure the climate impact of ICT
• Testing can choose to be as green as it can in its own practices
• Find the green aspect in the testing practices
© Dragons Out Oy 15
Sustainable Software Testing
• Optimising Resource Utilisation
• Test Automation
• Performance Testing and Optimisation
• Defect Prevention and Early Detection
• Test Environment Efficiency
• Green Testing Techniques
• Collaboration and Knowledge Sharing
© Dragons Out Oy 16
https://www.experimentus.com/sustainable-software-testing
Testing measures
carbon footprint
© Dragons Out Oy & Knowit Solutions Oy 17
ISO 25010 quality attributes,
expanded by Climate Impact
Climate impact
Quality costs PAFF-model (Feigenbaum)
19
Quality costs are all the costs that would disappear if everything was done right the first time.
Prevention costs
Costs that aim to prevent the creation of defects.
• Quality systems
• Methodologies
• Training
• Understanding customer expectations
• Code reviews
Appraisal costs
Costs that aim to maintain the company
quality level.
• Test planning and execution
• Test management
• Test environments and tools
Failure costs (internal)
Costs to fix defects that are found before
delivering the software to customer and its
users.
• Debugging
• Defect fixes
• Retesting
Failure costs (external)
Costs that occur when defects are found in the
software that the customer has already taken
into production usage.
. • Guarantee costs
• Penalties
• Price reductions
• Product call-backs and disposals
• Image, PR
Investments
Costs
and
penalties
PAFF = Prevention costs, Appraisal costs, Failure costs (internal), Failure costs (external)
Quality costs PAFF-model (Feigenbaum)
with climate impact
20
Quality costs are all the costs that would disappear if everything was done right the first time.
Prevention costs
Costs that aim to prevent the creation of defects.
• Quality systems, incl. climate impact of code
• Methodologies
• Training
• Understanding customer expectations
• Code reviews
Appraisal costs
Costs that aim to maintain the company
quality level.
• Test planning and execution
• Test management
• Test environments and tools
• Measurement of climate impact of code
Failure costs (internal)
Costs to fix defects that are found before
delivering the software to customer and its
users.
• Debugging
• Defect fixes
• Retesting
• Testing time and environments
Failure costs (external)
Costs that occur when defects are found in the
software that the customer has already taken
into production usage.
. • Guarantee costs
• Penalties, climate sanctions, CO2 compensation
• Price reductions
• Product call-backs and disposals
• Image, PR
Investments
Costs
and
penalties
PAFF = Prevention costs, Appraisal costs, Failure costs (internal), Failure costs (external)
When to apply the climate impact criterion
• In the Definition of Done
• In test planning and design
• In reviews
• In coding and testing
© Dragons Out Oy 21
Minimize
carbon footprint
of test environments
© Dragons Out Oy & Knowit Solutions Oy 22
Later is more expensive
© Dragons Out Oy & Knowit Solutions Oy 23
https://reqtest.com/general/a-bug-goes-skateboarding-on-boehms-curve/
More time
More test
environments
Larger
environments
Bigger
carbon
footprint
Smaller test environments early
© Dragons Out Oy & Knowit Solutions Oy 24
https://reqtest.com/general/a-bug-goes-skateboarding-on-boehms-curve/
Smaller
environment
early
Smaller carbon
footprint
• Virtualization • Serverless/FaaS
On-demand test
environments in the cloud Shared
machine
Less carbon
footprint
© Dragons Out Oy & Knowit Solutions Oy
• Virtualization • Serverless/FaaS
Automated test environments Faster
environment
setup
Smaller carbon
footprint
© Dragons Out Oy & Knowit Solutions Oy
Cheap, affordable test environments
give feedback to the team faster
Faster
feedback
Smaller carbon
footprint
© Dragons Out Oy & Knowit Solutions Oy
Minimize
carbon footprint
of testing
© Dragons Out Oy & Knowit Solutions Oy 28
• Target for carbon handprint with the software
• Include sustainability of coding and testing in the product vision
• Require sustainability in requests for proposals of systems
development
• Include energy efficiency in the concept of quality
Climate impact in the product vision
Sustainable
big picture
Smaller carbon
footprint
© Dragons Out Oy & Knowit Solutions Oy
https://tieke.fi/en/projects/green-ict-project/ workshops 2022
• Define requirements well enough
• Require energy-efficient code, done with energy-efficient tools
• Consider static data design over dynamic polling
• Minimize the number of features in the product, is MVP enough?
• Review for
• Climate impact
• Testability
• Test automation
Reviewed requirements mean easier tests
Easier tests
Smaller carbon
footprint
© Dragons Out Oy & Knowit Solutions Oy
https://tieke.fi/en/projects/green-ict-project/ workshops 2022
• Remove duplicate coverage in the test suite
• Remove unnecessary tests
• Prioritize tests to find defects faster
• Do it for first-time tests and regression tests
• Use
• Test techniques
• Risk analysis
• AI models
Optimized test suite means less tests
Less tests
Smaller carbon
footprint
© Dragons Out Oy & Knowit Solutions Oy
https://tieke.fi/en/projects/green-ict-project/ workshops 2022
• Run easy, fast tests first
• Use earlier test results for smarter tests
• Test critical things first, run only needed tests
• Simulate first (APIs, models), only then use real environments
• Use on-demand test environments
Optimized test execution
Smarter tests
Smaller carbon
footprint
© Dragons Out Oy & Knowit Solutions Oy
https://tieke.fi/en/projects/green-ict-project/ workshops 2022
• Smaller environments
• Test automation is developed in smaller environments
• Test automation should run first in smaller environments, then in larger ones
• Test automation executes faster than manual tests, resulting in
resource efficiency
• Automate test data creation
Use test automation
© Dragons Out Oy & Knowit Solutions Oy 33
Faster tests
Smaller carbon
footprint
https://tieke.fi/en/projects/green-ict-project/ workshops 2022
• Continue testing in production
• Monitor performance, and tune it
• Observe user experience, and tune it
• Measure energy usage of use, compare to energy use of development
Monitor production
© Dragons Out Oy & Knowit Solutions Oy 34
Production
monitoring
Smaller carbon
footprint
https://tieke.fi/en/projects/green-ict-project/ workshops 2022
• Shift left means testing earlier, resulting in less rework in coding and
testing
• Early feedback saves time and resources
Use Agile and DevOps
© Dragons Out Oy & Knowit Solutions Oy 35
Less rework
Smaller carbon
footprint
https://tieke.fi/en/projects/green-ict-project/ workshops 2022
What next?
© Dragons Out Oy & Knowit Solutions Oy 36
• https://www.knowit.eu/sustainability/
• https://www.exove.com/green-code/
• https://julkaisut.valtioneuvosto.fi/handle/10024/162912 (ICT Climate strategy)
• https://www.experimentus.com/sustainable-software-testing
• https://www.infoq.com/articles/fight-climate-change-software-engineer/
• https://principles.green/
• https://greensoftware.foundation/manifesto
• https://labs.sogeti.com/how-sustainability-testing-helps-reduce-the-carbon-footprint-of-your-it-
landscape/
• https://www.functionize.com/blog/how-green-is-your-testing-softwares-dirty-secret-revealed
• https://www.austriantestingboard.at/aspects-of-sustainable-test-processes/
• https://link.springer.com/chapter/10.1007/978-3-319-08581-4_8
Additional reading
Any questions?
Follow and share the Kari’s testing book projects:
• https://www.dragonsout.com
Social media
• Knowit https://www.facebook.com/KnowitOy
• Kari https://www.linkedin.com/in/karikakkonen/
• Dragons Out https://www.facebook.com/DragonsOutOy
Ask questions:
kari.kakkonen@dragonsout.com
© Dragons Out Oy & Knowit Solutions Oy 38
1 sur 38

Recommandé

Climate Impact of Software Testing par
Climate Impact of Software TestingClimate Impact of Software Testing
Climate Impact of Software TestingKari Kakkonen
44 vues42 diapositives
Climate Impact of Software Testing.pdf par
Climate Impact of Software Testing.pdfClimate Impact of Software Testing.pdf
Climate Impact of Software Testing.pdfKari Kakkonen
49 vues41 diapositives
Kari Kakkonen Climate Impact of Software Testing par
Kari Kakkonen Climate Impact of Software TestingKari Kakkonen Climate Impact of Software Testing
Kari Kakkonen Climate Impact of Software TestingKari Kakkonen
22 vues42 diapositives
European Green IT Webinar 2014 - Kaliterre (France) par
European Green IT Webinar 2014 - Kaliterre (France)European Green IT Webinar 2014 - Kaliterre (France)
European Green IT Webinar 2014 - Kaliterre (France)GreenLabCenter
421 vues35 diapositives
Benchmarking As a Tool for Optimising Software Development Performance par
Benchmarking As a Tool for Optimising Software Development PerformanceBenchmarking As a Tool for Optimising Software Development Performance
Benchmarking As a Tool for Optimising Software Development PerformanceDCG Software Value
394 vues21 diapositives
The challenge of putting software sustainability research into practice par
The challenge of putting software sustainability research into practiceThe challenge of putting software sustainability research into practice
The challenge of putting software sustainability research into practiceGreen Software Development
46 vues23 diapositives

Contenu connexe

Similaire à Climate Impact of Software Testing

Agile Testing – embedding testing into agile software development lifecycle par
Agile Testing – embedding testing into agile software development lifecycle Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle Kari Kakkonen
2.9K vues52 diapositives
Continous Integration Webinar par
Continous Integration WebinarContinous Integration Webinar
Continous Integration WebinarPaul Senatillaka
300 vues24 diapositives
Cp gp day04 session 14 - concept and assessment methodology of gp and compari... par
Cp gp day04 session 14 - concept and assessment methodology of gp and compari...Cp gp day04 session 14 - concept and assessment methodology of gp and compari...
Cp gp day04 session 14 - concept and assessment methodology of gp and compari...zubeditufail
330 vues60 diapositives
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ... par
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...FiSTB
106 vues36 diapositives
Green computing par
Green computing Green computing
Green computing Sandarekha Ramanayake
544 vues13 diapositives
F-Secure Cloud Software icgse2013 par
F-Secure Cloud Software icgse2013F-Secure Cloud Software icgse2013
F-Secure Cloud Software icgse2013Janne Järvinen
4K vues52 diapositives

Similaire à Climate Impact of Software Testing(20)

Agile Testing – embedding testing into agile software development lifecycle par Kari Kakkonen
Agile Testing – embedding testing into agile software development lifecycle Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle
Kari Kakkonen2.9K vues
Cp gp day04 session 14 - concept and assessment methodology of gp and compari... par zubeditufail
Cp gp day04 session 14 - concept and assessment methodology of gp and compari...Cp gp day04 session 14 - concept and assessment methodology of gp and compari...
Cp gp day04 session 14 - concept and assessment methodology of gp and compari...
zubeditufail330 vues
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ... par FiSTB
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...
FiSTB106 vues
Best Practices for Shifting Left Performance and Accessibility Testing par Perfecto by Perforce
Best Practices for Shifting Left Performance and Accessibility TestingBest Practices for Shifting Left Performance and Accessibility Testing
Best Practices for Shifting Left Performance and Accessibility Testing
Boundaries | Gary Davis par icarb
Boundaries | Gary DavisBoundaries | Gary Davis
Boundaries | Gary Davis
icarb451 vues
How to build a good practice software project portfolio webversion par Hennie Huijgens
How to build a good practice software project portfolio   webversionHow to build a good practice software project portfolio   webversion
How to build a good practice software project portfolio webversion
Hennie Huijgens460 vues
Software Testing Process, Testing Automation and Software Testing Trends par KMS Technology
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing Trends
KMS Technology11.1K vues
Final year project | Guide par Vestas
Final year project | GuideFinal year project | Guide
Final year project | Guide
Vestas172 vues
Final year projects - Step By step Guide par Vestas
Final year projects - Step By step  Guide Final year projects - Step By step  Guide
Final year projects - Step By step Guide
Vestas179 vues
IEEE 2015 Final Year Project Steps Guide par TTA_TNagar
IEEE 2015 Final Year Project Steps GuideIEEE 2015 Final Year Project Steps Guide
IEEE 2015 Final Year Project Steps Guide
TTA_TNagar273 vues
QA in digitalized world kari kakkonen ICTexpo2016 par Kari Kakkonen
QA in digitalized world kari kakkonen  ICTexpo2016QA in digitalized world kari kakkonen  ICTexpo2016
QA in digitalized world kari kakkonen ICTexpo2016
Kari Kakkonen300 vues
Introducing Software Development Technologies par John Miller
Introducing Software Development TechnologiesIntroducing Software Development Technologies
Introducing Software Development Technologies
John Miller313 vues
How to Deliver a Successful Oracle E-Business Suite Upgrade par Capgemini
How to Deliver a Successful Oracle E-Business Suite UpgradeHow to Deliver a Successful Oracle E-Business Suite Upgrade
How to Deliver a Successful Oracle E-Business Suite Upgrade
Capgemini4.4K vues
SDT Blended Model V3 2009 par Ed Kit
SDT Blended Model V3 2009SDT Blended Model V3 2009
SDT Blended Model V3 2009
Ed Kit635 vues
QA in Digitalized World by Kari Kakkonen at KDS2015 par Kari Kakkonen
QA in Digitalized World by Kari Kakkonen at KDS2015QA in Digitalized World by Kari Kakkonen at KDS2015
QA in Digitalized World by Kari Kakkonen at KDS2015
Kari Kakkonen545 vues

Plus de Kari Kakkonen

Insights about children testing par
Insights about children testingInsights about children testing
Insights about children testingKari Kakkonen
23 vues59 diapositives
Knights of Quality: Immersive talk about software testing par
Knights of Quality: Immersive talk about software testingKnights of Quality: Immersive talk about software testing
Knights of Quality: Immersive talk about software testingKari Kakkonen
6 vues43 diapositives
How to test an AI application par
How to test an AI applicationHow to test an AI application
How to test an AI applicationKari Kakkonen
153 vues32 diapositives
How children learn software testing par
How children learn software testingHow children learn software testing
How children learn software testingKari Kakkonen
66 vues20 diapositives
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla par
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaOhjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaKari Kakkonen
6 vues39 diapositives
How Children Learn Testing at Testit par
How Children Learn Testing at TestitHow Children Learn Testing at Testit
How Children Learn Testing at TestitKari Kakkonen
50 vues61 diapositives

Plus de Kari Kakkonen(20)

Knights of Quality: Immersive talk about software testing par Kari Kakkonen
Knights of Quality: Immersive talk about software testingKnights of Quality: Immersive talk about software testing
Knights of Quality: Immersive talk about software testing
Kari Kakkonen6 vues
How to test an AI application par Kari Kakkonen
How to test an AI applicationHow to test an AI application
How to test an AI application
Kari Kakkonen153 vues
How children learn software testing par Kari Kakkonen
How children learn software testingHow children learn software testing
How children learn software testing
Kari Kakkonen66 vues
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla par Kari Kakkonen
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaOhjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Kari Kakkonen6 vues
How Children Learn Testing at Testit par Kari Kakkonen
How Children Learn Testing at TestitHow Children Learn Testing at Testit
How Children Learn Testing at Testit
Kari Kakkonen50 vues
How Children Learn Testing Kari Kakkonen Odin conference.pdf par Kari Kakkonen
How Children Learn Testing Kari Kakkonen Odin conference.pdfHow Children Learn Testing Kari Kakkonen Odin conference.pdf
How Children Learn Testing Kari Kakkonen Odin conference.pdf
Kari Kakkonen10 vues
Insights from children about testing at NTD2022 par Kari Kakkonen
Insights from children about testing at NTD2022Insights from children about testing at NTD2022
Insights from children about testing at NTD2022
Kari Kakkonen75 vues
Insights from children about testing; how children who've read the Dragons O... par Kari Kakkonen
Insights from children about testing; how children who've read the Dragons O...Insights from children about testing; how children who've read the Dragons O...
Insights from children about testing; how children who've read the Dragons O...
Kari Kakkonen56 vues
Insights from children about testing; how children who've read the Dragons O... par Kari Kakkonen
Insights from children about testing; how children who've read the Dragons O...Insights from children about testing; how children who've read the Dragons O...
Insights from children about testing; how children who've read the Dragons O...
Kari Kakkonen10 vues
Insights from children about testing; how children who've read the Dragons Ou... par Kari Kakkonen
Insights from children about testing; how children who've read the Dragons Ou...Insights from children about testing; how children who've read the Dragons Ou...
Insights from children about testing; how children who've read the Dragons Ou...
Kari Kakkonen81 vues
Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi) par Kari Kakkonen
Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)
Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi)
Kari Kakkonen49 vues
How Children Learn Testing with Dragons - KDS2021 par Kari Kakkonen
How Children Learn Testing with Dragons - KDS2021How Children Learn Testing with Dragons - KDS2021
How Children Learn Testing with Dragons - KDS2021
Kari Kakkonen128 vues
How children learn testing with dragons at SEETEST 2021 par Kari Kakkonen
How children learn testing with dragons at SEETEST 2021How children learn testing with dragons at SEETEST 2021
How children learn testing with dragons at SEETEST 2021
Kari Kakkonen71 vues
Why children should learn to test why anyone should test? par Kari Kakkonen
Why children should learn to test why anyone should test?Why children should learn to test why anyone should test?
Why children should learn to test why anyone should test?
Kari Kakkonen118 vues
Encouraging children into software testing A4Q World Congress par Kari Kakkonen
Encouraging children into software testing A4Q World CongressEncouraging children into software testing A4Q World Congress
Encouraging children into software testing A4Q World Congress
Kari Kakkonen158 vues
Encouraging Children into Testing at JSTQB Tokyo par Kari Kakkonen
Encouraging Children into Testing at JSTQB TokyoEncouraging Children into Testing at JSTQB Tokyo
Encouraging Children into Testing at JSTQB Tokyo
Kari Kakkonen156 vues
Encouraging Children into Testing at EuroSTAR2020 par Kari Kakkonen
Encouraging Children into Testing at EuroSTAR2020Encouraging Children into Testing at EuroSTAR2020
Encouraging Children into Testing at EuroSTAR2020
Kari Kakkonen120 vues
Children encouraged into testing - HUSTEF 2020 par Kari Kakkonen
Children encouraged into testing - HUSTEF 2020Children encouraged into testing - HUSTEF 2020
Children encouraged into testing - HUSTEF 2020
Kari Kakkonen90 vues
Children encouraged into testing - RTC online 2020 par Kari Kakkonen
Children encouraged into testing - RTC online 2020Children encouraged into testing - RTC online 2020
Children encouraged into testing - RTC online 2020
Kari Kakkonen269 vues

Dernier

Top-5-production-devconMunich-2023-v2.pptx par
Top-5-production-devconMunich-2023-v2.pptxTop-5-production-devconMunich-2023-v2.pptx
Top-5-production-devconMunich-2023-v2.pptxTier1 app
6 vues42 diapositives
Understanding HTML terminology par
Understanding HTML terminologyUnderstanding HTML terminology
Understanding HTML terminologyartembondar5
7 vues8 diapositives
What is API par
What is APIWhat is API
What is APIartembondar5
12 vues15 diapositives
Ports-and-Adapters Architecture for Embedded HMI par
Ports-and-Adapters Architecture for Embedded HMIPorts-and-Adapters Architecture for Embedded HMI
Ports-and-Adapters Architecture for Embedded HMIBurkhard Stubert
29 vues19 diapositives
Introduction to Gradle par
Introduction to GradleIntroduction to Gradle
Introduction to GradleJohn Valentino
5 vues7 diapositives
Dapr Unleashed: Accelerating Microservice Development par
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice DevelopmentMiroslav Janeski
13 vues29 diapositives

Dernier(20)

Top-5-production-devconMunich-2023-v2.pptx par Tier1 app
Top-5-production-devconMunich-2023-v2.pptxTop-5-production-devconMunich-2023-v2.pptx
Top-5-production-devconMunich-2023-v2.pptx
Tier1 app6 vues
Ports-and-Adapters Architecture for Embedded HMI par Burkhard Stubert
Ports-and-Adapters Architecture for Embedded HMIPorts-and-Adapters Architecture for Embedded HMI
Ports-and-Adapters Architecture for Embedded HMI
Dapr Unleashed: Accelerating Microservice Development par Miroslav Janeski
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice Development
Fleet Management Software in India par Fleetable
Fleet Management Software in India Fleet Management Software in India
Fleet Management Software in India
Fleetable12 vues
AI and Ml presentation .pptx par FayazAli87
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptx
FayazAli8714 vues
ADDO_2022_CICID_Tom_Halpin.pdf par TomHalpin9
ADDO_2022_CICID_Tom_Halpin.pdfADDO_2022_CICID_Tom_Halpin.pdf
ADDO_2022_CICID_Tom_Halpin.pdf
TomHalpin95 vues
FIMA 2023 Neo4j & FS - Entity Resolution.pptx par Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j17 vues
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx par animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm15 vues
Top-5-production-devconMunich-2023.pptx par Tier1 app
Top-5-production-devconMunich-2023.pptxTop-5-production-devconMunich-2023.pptx
Top-5-production-devconMunich-2023.pptx
Tier1 app9 vues

Climate Impact of Software Testing

  • 1. Climate Impact of Software Testing Kari Kakkonen https://www.linkedin.com/in/karikakkonen/ Dragons Out Oy & Knowit Solutions Oy SEETEST Bucharest 20.9.2023 © Dragons Out Oy & Knowit Solutions Oy 1
  • 2. ROLES • Knowit Solutions Oy, Director of Training and Competences, Lead Consultant, Trainer and Coach • Children’s and testing author at Dragons Out Oy • TMMi, Board of Directors • Treasurer of Finnish Software Testing Board (FiSTB) ACHIEVEMENTS • Tester of the Year in Finland 2021 • EuroSTAR Testing Excellence Award 2021 • Exemplary DevOps Instructor Award 2023 by DASA • ISTQB Executive Committee 2015-2021 • Influencing testing since 1996 • Ranked in 100 most influential IT persons in Finland (Tivi magazine) • Great number of presentations in Finnish and international conferences • TestausOSY/FAST founding member. • Co-author of Agile Testing Foundations book • Regular blogger in Tivi-magazine Kari Kakkonen, Lead Testing Consultant SERVICES • ISTQB Advanced, Foundation and Agile Testing • A4Q AI and Software Testing • Knowit Quality Professional • DASA DevOps • Quality & Test process and organization development, Metrics, TMMi and other assessments • Agile testing, Scrum, Kanban, Lean • Leadership • Test automation, Mobile, Cloud, DevOps, AI • Quality, cost, benefits EDUCATION • ISTQB Expert Level Test Management & Advanced Full & Agile Tester certified • DASA DevOps, Scrum Master and SAFe certified • TMMi Professional, Assessor, Process Improver certified • SPICE provisionary assessor certified • M.Sc.(Eng), Helsinki University of Technology (present Aalto University), Otaniemi, Espoo • Marketing studies, University of Wisconsin-Madison, the USA. BUSINESS DOMAINS Wide spread of business domain knowledge: Embedded, industry, public, training, telecommunications, commerce, Insurance, banking, pension. 20.9.2023 2 twitter.com/kkakkonen Dragonsout.com MORE INFORMATION linkedin.com/in/karikakkonen/ © Copyright Knowit Trainings 2023
  • 3. A Nordic powerhouse for digital solutions 4 400+ Experts 6 countries SE, NO, FI, DK, DE, PL 613 MEUR Combined turnover 2022 4 business areas Solutions, Experience, Connectivity and Insight Nordic ESG-ambassador Clear vision to accelerate the UN sustainability agenda
  • 4. The book project ”Dragons Out!” • Mission • “Software testing brought to children” • Book • Author Kari Kakkonen • Illustrator Adrienn Széll • Text and illustration rights Dragons Out Oy • In Finnish, English, Polish, French and growing • For ages of 10-99 • Free “Dragon lesson in software testing” presentation under Creative Commons –license • Translated to 20 languages! • More info: www.dragonsout.com • Also other books coming out 4
  • 5. ISTQB GLOBAL PRESENCE • Number of exams administered: over 1,2 million • Number of certifications issued: 845,000 • In 130 countries
  • 6. TMMi for test improvement in all kinds of testing, including agile and DevOps
  • 7. Agenda • Green ICT • Green Testing • Testing measures carbon footprint • Minimize carbon footprint of test environments • Minimize carbon footprint of testing • What next? © Dragons Out Oy & Knowit Solutions Oy 7
  • 8. Green ICT © Dragons Out Oy & Knowit Solutions Oy 8
  • 9. Climate change • Climate change has been a major topic in political debate in recent years. • The Paris climate conference (COP21) in 2015 set a target of limiting global warming to below 1.5°C compared to pre-industrial levels. © Dragons Out Oy 9
  • 10. United Nations Sustainable Development Goals
  • 11. Green ICT “Green ICT is the study and practice of using computing resources efficiently and effectively with minimal or no impact on the environment.” Handbook of Research on Green ICT, B. Unhelkar “To combat climate change, all viable avenues must be explored, and the ICT industry must also play a role.” Green Code, Janne Kalliola © Dragons Out Oy 11
  • 12. Carbon footprint and handprint “A carbon footprint is the total amount of greenhouse gases (including carbon dioxide and methane) that are generated by our actions.” Nature.org “A carbon handprint is the opposite of a footprint. It recognises the actions you take to have a positive impact on the climate, over and above reducing your own carbon footprint if you do enough of these they might even outweigh the size of your carbon footprint.” Go-positive.co.uk © Dragons Out Oy 12
  • 13. Towards carbon handprint © Dragons Out Oy & Knowit Solutions Oy 13 Carbon footprint Minimize carbon footprint Carbon handprint
  • 14. Green Testing © Dragons Out Oy & Knowit Solutions Oy 14
  • 15. Green Testing can help • Testing can’t change the world of ICT on its own • But • Testing can measure the climate impact of ICT • Testing can choose to be as green as it can in its own practices • Find the green aspect in the testing practices © Dragons Out Oy 15
  • 16. Sustainable Software Testing • Optimising Resource Utilisation • Test Automation • Performance Testing and Optimisation • Defect Prevention and Early Detection • Test Environment Efficiency • Green Testing Techniques • Collaboration and Knowledge Sharing © Dragons Out Oy 16 https://www.experimentus.com/sustainable-software-testing
  • 17. Testing measures carbon footprint © Dragons Out Oy & Knowit Solutions Oy 17
  • 18. ISO 25010 quality attributes, expanded by Climate Impact Climate impact
  • 19. Quality costs PAFF-model (Feigenbaum) 19 Quality costs are all the costs that would disappear if everything was done right the first time. Prevention costs Costs that aim to prevent the creation of defects. • Quality systems • Methodologies • Training • Understanding customer expectations • Code reviews Appraisal costs Costs that aim to maintain the company quality level. • Test planning and execution • Test management • Test environments and tools Failure costs (internal) Costs to fix defects that are found before delivering the software to customer and its users. • Debugging • Defect fixes • Retesting Failure costs (external) Costs that occur when defects are found in the software that the customer has already taken into production usage. . • Guarantee costs • Penalties • Price reductions • Product call-backs and disposals • Image, PR Investments Costs and penalties PAFF = Prevention costs, Appraisal costs, Failure costs (internal), Failure costs (external)
  • 20. Quality costs PAFF-model (Feigenbaum) with climate impact 20 Quality costs are all the costs that would disappear if everything was done right the first time. Prevention costs Costs that aim to prevent the creation of defects. • Quality systems, incl. climate impact of code • Methodologies • Training • Understanding customer expectations • Code reviews Appraisal costs Costs that aim to maintain the company quality level. • Test planning and execution • Test management • Test environments and tools • Measurement of climate impact of code Failure costs (internal) Costs to fix defects that are found before delivering the software to customer and its users. • Debugging • Defect fixes • Retesting • Testing time and environments Failure costs (external) Costs that occur when defects are found in the software that the customer has already taken into production usage. . • Guarantee costs • Penalties, climate sanctions, CO2 compensation • Price reductions • Product call-backs and disposals • Image, PR Investments Costs and penalties PAFF = Prevention costs, Appraisal costs, Failure costs (internal), Failure costs (external)
  • 21. When to apply the climate impact criterion • In the Definition of Done • In test planning and design • In reviews • In coding and testing © Dragons Out Oy 21
  • 22. Minimize carbon footprint of test environments © Dragons Out Oy & Knowit Solutions Oy 22
  • 23. Later is more expensive © Dragons Out Oy & Knowit Solutions Oy 23 https://reqtest.com/general/a-bug-goes-skateboarding-on-boehms-curve/ More time More test environments Larger environments Bigger carbon footprint
  • 24. Smaller test environments early © Dragons Out Oy & Knowit Solutions Oy 24 https://reqtest.com/general/a-bug-goes-skateboarding-on-boehms-curve/ Smaller environment early Smaller carbon footprint
  • 25. • Virtualization • Serverless/FaaS On-demand test environments in the cloud Shared machine Less carbon footprint © Dragons Out Oy & Knowit Solutions Oy
  • 26. • Virtualization • Serverless/FaaS Automated test environments Faster environment setup Smaller carbon footprint © Dragons Out Oy & Knowit Solutions Oy
  • 27. Cheap, affordable test environments give feedback to the team faster Faster feedback Smaller carbon footprint © Dragons Out Oy & Knowit Solutions Oy
  • 28. Minimize carbon footprint of testing © Dragons Out Oy & Knowit Solutions Oy 28
  • 29. • Target for carbon handprint with the software • Include sustainability of coding and testing in the product vision • Require sustainability in requests for proposals of systems development • Include energy efficiency in the concept of quality Climate impact in the product vision Sustainable big picture Smaller carbon footprint © Dragons Out Oy & Knowit Solutions Oy https://tieke.fi/en/projects/green-ict-project/ workshops 2022
  • 30. • Define requirements well enough • Require energy-efficient code, done with energy-efficient tools • Consider static data design over dynamic polling • Minimize the number of features in the product, is MVP enough? • Review for • Climate impact • Testability • Test automation Reviewed requirements mean easier tests Easier tests Smaller carbon footprint © Dragons Out Oy & Knowit Solutions Oy https://tieke.fi/en/projects/green-ict-project/ workshops 2022
  • 31. • Remove duplicate coverage in the test suite • Remove unnecessary tests • Prioritize tests to find defects faster • Do it for first-time tests and regression tests • Use • Test techniques • Risk analysis • AI models Optimized test suite means less tests Less tests Smaller carbon footprint © Dragons Out Oy & Knowit Solutions Oy https://tieke.fi/en/projects/green-ict-project/ workshops 2022
  • 32. • Run easy, fast tests first • Use earlier test results for smarter tests • Test critical things first, run only needed tests • Simulate first (APIs, models), only then use real environments • Use on-demand test environments Optimized test execution Smarter tests Smaller carbon footprint © Dragons Out Oy & Knowit Solutions Oy https://tieke.fi/en/projects/green-ict-project/ workshops 2022
  • 33. • Smaller environments • Test automation is developed in smaller environments • Test automation should run first in smaller environments, then in larger ones • Test automation executes faster than manual tests, resulting in resource efficiency • Automate test data creation Use test automation © Dragons Out Oy & Knowit Solutions Oy 33 Faster tests Smaller carbon footprint https://tieke.fi/en/projects/green-ict-project/ workshops 2022
  • 34. • Continue testing in production • Monitor performance, and tune it • Observe user experience, and tune it • Measure energy usage of use, compare to energy use of development Monitor production © Dragons Out Oy & Knowit Solutions Oy 34 Production monitoring Smaller carbon footprint https://tieke.fi/en/projects/green-ict-project/ workshops 2022
  • 35. • Shift left means testing earlier, resulting in less rework in coding and testing • Early feedback saves time and resources Use Agile and DevOps © Dragons Out Oy & Knowit Solutions Oy 35 Less rework Smaller carbon footprint https://tieke.fi/en/projects/green-ict-project/ workshops 2022
  • 36. What next? © Dragons Out Oy & Knowit Solutions Oy 36
  • 37. • https://www.knowit.eu/sustainability/ • https://www.exove.com/green-code/ • https://julkaisut.valtioneuvosto.fi/handle/10024/162912 (ICT Climate strategy) • https://www.experimentus.com/sustainable-software-testing • https://www.infoq.com/articles/fight-climate-change-software-engineer/ • https://principles.green/ • https://greensoftware.foundation/manifesto • https://labs.sogeti.com/how-sustainability-testing-helps-reduce-the-carbon-footprint-of-your-it- landscape/ • https://www.functionize.com/blog/how-green-is-your-testing-softwares-dirty-secret-revealed • https://www.austriantestingboard.at/aspects-of-sustainable-test-processes/ • https://link.springer.com/chapter/10.1007/978-3-319-08581-4_8 Additional reading
  • 38. Any questions? Follow and share the Kari’s testing book projects: • https://www.dragonsout.com Social media • Knowit https://www.facebook.com/KnowitOy • Kari https://www.linkedin.com/in/karikakkonen/ • Dragons Out https://www.facebook.com/DragonsOutOy Ask questions: kari.kakkonen@dragonsout.com © Dragons Out Oy & Knowit Solutions Oy 38