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 en 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 de 38

Recomendados

Climate Impact of Software Testing por
Climate Impact of Software TestingClimate Impact of Software Testing
Climate Impact of Software TestingKari Kakkonen
44 vistas42 diapositivas
Climate Impact of Software Testing.pdf por
Climate Impact of Software Testing.pdfClimate Impact of Software Testing.pdf
Climate Impact of Software Testing.pdfKari Kakkonen
49 vistas41 diapositivas
Kari Kakkonen Climate Impact of Software Testing por
Kari Kakkonen Climate Impact of Software TestingKari Kakkonen Climate Impact of Software Testing
Kari Kakkonen Climate Impact of Software TestingKari Kakkonen
22 vistas42 diapositivas
European Green IT Webinar 2014 - Kaliterre (France) por
European Green IT Webinar 2014 - Kaliterre (France)European Green IT Webinar 2014 - Kaliterre (France)
European Green IT Webinar 2014 - Kaliterre (France)GreenLabCenter
421 vistas35 diapositivas
Benchmarking As a Tool for Optimising Software Development Performance por
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 vistas21 diapositivas
The challenge of putting software sustainability research into practice por
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 vistas23 diapositivas

Más contenido relacionado

Similar a Climate Impact of Software Testing

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

Similar a Climate Impact of Software Testing(20)

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

Más de Kari Kakkonen

Insights about children testing por
Insights about children testingInsights about children testing
Insights about children testingKari Kakkonen
23 vistas59 diapositivas
Knights of Quality: Immersive talk about software testing por
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 vistas43 diapositivas
How to test an AI application por
How to test an AI applicationHow to test an AI application
How to test an AI applicationKari Kakkonen
154 vistas32 diapositivas
How children learn software testing por
How children learn software testingHow children learn software testing
How children learn software testingKari Kakkonen
66 vistas20 diapositivas
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla por
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaOhjelmistotestauksen opetuksen kokemuksia fantasiatarinan avulla
Ohjelmistotestauksen opetuksen kokemuksia fantasiatarinan avullaKari Kakkonen
6 vistas39 diapositivas
How Children Learn Testing at Testit por
How Children Learn Testing at TestitHow Children Learn Testing at Testit
How Children Learn Testing at TestitKari Kakkonen
50 vistas61 diapositivas

Más de Kari Kakkonen(20)

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

Último

tecnologia18.docx por
tecnologia18.docxtecnologia18.docx
tecnologia18.docxnosi6702
6 vistas5 diapositivas
How to build dyanmic dashboards and ensure they always work por
How to build dyanmic dashboards and ensure they always workHow to build dyanmic dashboards and ensure they always work
How to build dyanmic dashboards and ensure they always workWiiisdom
16 vistas13 diapositivas
The Path to DevOps por
The Path to DevOpsThe Path to DevOps
The Path to DevOpsJohn Valentino
6 vistas6 diapositivas
Top-5-production-devconMunich-2023-v2.pptx por
Top-5-production-devconMunich-2023-v2.pptxTop-5-production-devconMunich-2023-v2.pptx
Top-5-production-devconMunich-2023-v2.pptxTier1 app
9 vistas42 diapositivas
Winter Projects GDSC IITK por
Winter Projects GDSC IITKWinter Projects GDSC IITK
Winter Projects GDSC IITKSahilSingh368445
416 vistas60 diapositivas
FOSSLight Community Day 2023-11-30 por
FOSSLight Community Day 2023-11-30FOSSLight Community Day 2023-11-30
FOSSLight Community Day 2023-11-30Shane Coughlan
8 vistas18 diapositivas

Último(20)

tecnologia18.docx por nosi6702
tecnologia18.docxtecnologia18.docx
tecnologia18.docx
nosi67026 vistas
How to build dyanmic dashboards and ensure they always work por Wiiisdom
How to build dyanmic dashboards and ensure they always workHow to build dyanmic dashboards and ensure they always work
How to build dyanmic dashboards and ensure they always work
Wiiisdom16 vistas
Top-5-production-devconMunich-2023-v2.pptx por Tier1 app
Top-5-production-devconMunich-2023-v2.pptxTop-5-production-devconMunich-2023-v2.pptx
Top-5-production-devconMunich-2023-v2.pptx
Tier1 app9 vistas
FOSSLight Community Day 2023-11-30 por Shane Coughlan
FOSSLight Community Day 2023-11-30FOSSLight Community Day 2023-11-30
FOSSLight Community Day 2023-11-30
Shane Coughlan8 vistas
Ports-and-Adapters Architecture for Embedded HMI por Burkhard Stubert
Ports-and-Adapters Architecture for Embedded HMIPorts-and-Adapters Architecture for Embedded HMI
Ports-and-Adapters Architecture for Embedded HMI
Burkhard Stubert35 vistas
Transport Management System - Shipment & Container Tracking por Freightoscope
Transport Management System - Shipment & Container TrackingTransport Management System - Shipment & Container Tracking
Transport Management System - Shipment & Container Tracking
Freightoscope 6 vistas
Introduction to Git Source Control por John Valentino
Introduction to Git Source ControlIntroduction to Git Source Control
Introduction to Git Source Control
John Valentino8 vistas
Bootstrapping vs Venture Capital.pptx por Zeljko Svedic
Bootstrapping vs Venture Capital.pptxBootstrapping vs Venture Capital.pptx
Bootstrapping vs Venture Capital.pptx
Zeljko Svedic16 vistas
Quality Engineer: A Day in the Life por John Valentino
Quality Engineer: A Day in the LifeQuality Engineer: A Day in the Life
Quality Engineer: A Day in the Life
John Valentino10 vistas
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P... por NimaTorabi2
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
NimaTorabi217 vistas

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