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
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 of 38

Recommended

Climate Impact of Software Testing by
Climate Impact of Software TestingClimate Impact of Software Testing
Climate Impact of Software TestingKari Kakkonen
44 views42 slides
Climate Impact of Software Testing.pdf by
Climate Impact of Software Testing.pdfClimate Impact of Software Testing.pdf
Climate Impact of Software Testing.pdfKari Kakkonen
48 views41 slides
Kari Kakkonen Climate Impact of Software Testing by
Kari Kakkonen Climate Impact of Software TestingKari Kakkonen Climate Impact of Software Testing
Kari Kakkonen Climate Impact of Software TestingKari Kakkonen
18 views42 slides
European Green IT Webinar 2014 - Kaliterre (France) by
European Green IT Webinar 2014 - Kaliterre (France)European Green IT Webinar 2014 - Kaliterre (France)
European Green IT Webinar 2014 - Kaliterre (France)GreenLabCenter
421 views35 slides
Benchmarking As a Tool for Optimising Software Development Performance by
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 views21 slides
The challenge of putting software sustainability research into practice by
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 views23 slides

More Related Content

Similar to Climate Impact of Software Testing

Agile Testing – embedding testing into agile software development lifecycle by
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 views52 slides
Continous Integration Webinar by
Continous Integration WebinarContinous Integration Webinar
Continous Integration WebinarPaul Senatillaka
300 views24 slides
Cp gp day04 session 14 - concept and assessment methodology of gp and compari... by
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 views60 slides
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ... by
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...FiSTB
106 views36 slides
Green computing by
Green computing Green computing
Green computing Sandarekha Ramanayake
544 views13 slides
F-Secure Cloud Software icgse2013 by
F-Secure Cloud Software icgse2013F-Secure Cloud Software icgse2013
F-Secure Cloud Software icgse2013Janne Järvinen
4K views52 slides

Similar to Climate Impact of Software Testing(20)

Agile Testing – embedding testing into agile software development lifecycle by 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 views
Cp gp day04 session 14 - concept and assessment methodology of gp and compari... by 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 views
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ... by FiSTB
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...
Kari_Kakkonen_TestingAssembly_BecomingMultiTalentedTester - Testing Assembly ...
FiSTB106 views
Best Practices for Shifting Left Performance and Accessibility Testing by 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 by icarb
Boundaries | Gary DavisBoundaries | Gary Davis
Boundaries | Gary Davis
icarb451 views
How to build a good practice software project portfolio webversion by 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 views
Software Testing Process, Testing Automation and Software Testing Trends by 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 views
Final year project | Guide by Vestas
Final year project | GuideFinal year project | Guide
Final year project | Guide
Vestas172 views
Final year projects - Step By step Guide by Vestas
Final year projects - Step By step  Guide Final year projects - Step By step  Guide
Final year projects - Step By step Guide
Vestas179 views
IEEE 2015 Final Year Project Steps Guide by TTA_TNagar
IEEE 2015 Final Year Project Steps GuideIEEE 2015 Final Year Project Steps Guide
IEEE 2015 Final Year Project Steps Guide
TTA_TNagar273 views
Becoming MultiTalented Tester by Kari Kakkonen
Becoming MultiTalented TesterBecoming MultiTalented Tester
Becoming MultiTalented Tester
Kari Kakkonen69 views
QA in digitalized world kari kakkonen ICTexpo2016 by Kari Kakkonen
QA in digitalized world kari kakkonen  ICTexpo2016QA in digitalized world kari kakkonen  ICTexpo2016
QA in digitalized world kari kakkonen ICTexpo2016
Kari Kakkonen300 views
Introducing Software Development Technologies by John Miller
Introducing Software Development TechnologiesIntroducing Software Development Technologies
Introducing Software Development Technologies
John Miller313 views
How to Deliver a Successful Oracle E-Business Suite Upgrade by 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 views
SDT Blended Model V3 2009 by Ed Kit
SDT Blended Model V3 2009SDT Blended Model V3 2009
SDT Blended Model V3 2009
Ed Kit635 views
QA in Digitalized World by Kari Kakkonen at KDS2015 by 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 views

More from Kari Kakkonen

Insights about children testing by
Insights about children testingInsights about children testing
Insights about children testingKari Kakkonen
23 views59 slides
Knights of Quality: Immersive talk about software testing by
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 views43 slides
How to test an AI application by
How to test an AI applicationHow to test an AI application
How to test an AI applicationKari Kakkonen
152 views32 slides
How children learn software testing by
How children learn software testingHow children learn software testing
How children learn software testingKari Kakkonen
65 views20 slides
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla by
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaOhjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaKari Kakkonen
6 views39 slides
How Children Learn Testing at Testit by
How Children Learn Testing at TestitHow Children Learn Testing at Testit
How Children Learn Testing at TestitKari Kakkonen
50 views61 slides

More from Kari Kakkonen(20)

Insights about children testing by Kari Kakkonen
Insights about children testingInsights about children testing
Insights about children testing
Kari Kakkonen23 views
Knights of Quality: Immersive talk about software testing by 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 views
How to test an AI application by Kari Kakkonen
How to test an AI applicationHow to test an AI application
How to test an AI application
Kari Kakkonen152 views
How children learn software testing by Kari Kakkonen
How children learn software testingHow children learn software testing
How children learn software testing
Kari Kakkonen65 views
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla by Kari Kakkonen
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaOhjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Kari Kakkonen6 views
How Children Learn Testing at Testit by Kari Kakkonen
How Children Learn Testing at TestitHow Children Learn Testing at Testit
How Children Learn Testing at Testit
Kari Kakkonen50 views
How Children Learn Testing Kari Kakkonen Odin conference.pdf by 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 views
Insights from children about testing at NTD2022 by Kari Kakkonen
Insights from children about testing at NTD2022Insights from children about testing at NTD2022
Insights from children about testing at NTD2022
Kari Kakkonen75 views
Insights from children about testing; how children who've read the Dragons O... by 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 views
Insights from children about testing; how children who've read the Dragons O... by 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 views
Insights from children about testing; how children who've read the Dragons Ou... by 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 views
Dragons Out Ohjelmistotestauksen oppia fantasian keinoilla (ITK-konferenssi) by 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 views
How Children Learn Testing with Dragons - KDS2021 by Kari Kakkonen
How Children Learn Testing with Dragons - KDS2021How Children Learn Testing with Dragons - KDS2021
How Children Learn Testing with Dragons - KDS2021
Kari Kakkonen128 views
How children learn testing with dragons at SEETEST 2021 by 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 views
Why children should learn to test why anyone should test? by 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 views
Encouraging children into software testing A4Q World Congress by 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 views
Encouraging Children into Testing at JSTQB Tokyo by Kari Kakkonen
Encouraging Children into Testing at JSTQB TokyoEncouraging Children into Testing at JSTQB Tokyo
Encouraging Children into Testing at JSTQB Tokyo
Kari Kakkonen156 views
Encouraging Children into Testing at EuroSTAR2020 by Kari Kakkonen
Encouraging Children into Testing at EuroSTAR2020Encouraging Children into Testing at EuroSTAR2020
Encouraging Children into Testing at EuroSTAR2020
Kari Kakkonen120 views
Children encouraged into testing - HUSTEF 2020 by Kari Kakkonen
Children encouraged into testing - HUSTEF 2020Children encouraged into testing - HUSTEF 2020
Children encouraged into testing - HUSTEF 2020
Kari Kakkonen90 views
Children encouraged into testing - RTC online 2020 by Kari Kakkonen
Children encouraged into testing - RTC online 2020Children encouraged into testing - RTC online 2020
Children encouraged into testing - RTC online 2020
Kari Kakkonen269 views

Recently uploaded

Quality Engineer: A Day in the Life by
Quality Engineer: A Day in the LifeQuality Engineer: A Day in the Life
Quality Engineer: A Day in the LifeJohn Valentino
6 views18 slides
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... by
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...TomHalpin9
6 views29 slides
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium... by
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...Lisi Hocke
35 views124 slides
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI... by
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...Marc Müller
41 views83 slides
Airline Booking Software by
Airline Booking SoftwareAirline Booking Software
Airline Booking SoftwareSharmiMehta
6 views26 slides
360 graden fabriek by
360 graden fabriek360 graden fabriek
360 graden fabriekinfo33492
122 views25 slides

Recently uploaded(20)

Quality Engineer: A Day in the Life by John Valentino
Quality Engineer: A Day in the LifeQuality Engineer: A Day in the Life
Quality Engineer: A Day in the Life
John Valentino6 views
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... by TomHalpin9
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
TomHalpin96 views
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium... by Lisi Hocke
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Lisi Hocke35 views
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI... by Marc Müller
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Marc Müller41 views
Airline Booking Software by SharmiMehta
Airline Booking SoftwareAirline Booking Software
Airline Booking Software
SharmiMehta6 views
360 graden fabriek by info33492
360 graden fabriek360 graden fabriek
360 graden fabriek
info33492122 views
Myths and Facts About Hospice Care: Busting Common Misconceptions by Care Coordinations
Myths and Facts About Hospice Care: Busting Common MisconceptionsMyths and Facts About Hospice Care: Busting Common Misconceptions
Myths and Facts About Hospice Care: Busting Common Misconceptions
Dapr Unleashed: Accelerating Microservice Development by Miroslav Janeski
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice Development
Miroslav Janeski10 views
Introduction to Git Source Control by John Valentino
Introduction to Git Source ControlIntroduction to Git Source Control
Introduction to Git Source Control
John Valentino5 views
Top-5-production-devconMunich-2023.pptx by Tier1 app
Top-5-production-devconMunich-2023.pptxTop-5-production-devconMunich-2023.pptx
Top-5-production-devconMunich-2023.pptx
Tier1 app7 views
Ports-and-Adapters Architecture for Embedded HMI by Burkhard Stubert
Ports-and-Adapters Architecture for Embedded HMIPorts-and-Adapters Architecture for Embedded HMI
Ports-and-Adapters Architecture for Embedded HMI
Burkhard Stubert21 views
Generic or specific? Making sensible software design decisions by Bert Jan Schrijver
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... by Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri860 views
tecnologia18.docx by nosi6702
tecnologia18.docxtecnologia18.docx
tecnologia18.docx
nosi67025 views

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