<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-make-testing-more-sustainable-b017zf4ys" -->

---
title: How to Make Testing More Sustainable | daily.dev
description: A talk on DevGreenOps at OOP Conference outlines how to make software testing more energy-efficient: design test strategies to fail fast, skip tests unaffected...
canonical: https://daily.dev/posts/how-to-make-testing-more-sustainable-b017zf4ys
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to Make Testing More Sustainable | daily.dev
og:description: A talk on DevGreenOps at OOP Conference outlines how to make software testing more energy-efficient: design test strategies to fail fast, skip tests unaffected...
og:url: https://daily.dev/posts/how-to-make-testing-more-sustainable-b017zf4ys
og:image: https://api.daily.dev/og/posts/B017zF4yS.png
og:image:alt: How to Make Testing More Sustainable
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Make Testing More Sustainable

**[InfoQ](https://daily.dev/sources/infoq)** · 5 min read · 0 upvotes · 0 comments

## Summary

A talk on DevGreenOps at OOP Conference outlines how to make software testing more energy-efficient: design test strategies to fail fast, skip tests unaffected by code changes (especially in monorepos), track per-test energy consumption or proxy metrics like CPU/memory/network usage, and use static analysis tools like Creedengo (an open-source SonarQube plugin) to spot inefficiencies such as database calls inside loops. The speaker also touches on testing with low-fidelity prototypes early, supporting older hardware to extend its lifespan, and reflects on the xz backdoor (CVE-2024-3094) discovery as an example of insight gained from performance-focused testing.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoq.com/news/2026/08/making-testing-sustainable>

## Questions this post answers

### How can I make my automated test suite more energy efficient?

Design tests to fail fast so a failing unit test halts execution before slower integration, end-to-end, or UI tests run, and only execute tests affected by the code that changed, especially in monorepos where frontend and backend changes are independent. Running static code analysis first to catch inefficiencies like database queries inside loops before executing tests further reduces wasted energy and time.

_Developers optimizing CI pipelines for efficiency can follow ongoing sustainable testing practices on daily.dev._

### What tool can detect energy inefficiencies in code as a SonarQube plugin?

Creedengo is an open-source SonarQube plugin that detects easy-to-spot code inefficiencies, such as backend calls or database queries made inside loops, and supports Java, Python, JavaScript, and C#. Some of its rules have only a negligible impact on performance and energy consumption, so it's important to hand-pick a useful subset of rules rather than enabling all of them.

_Teams comparing static analysis tools for sustainability can track new releases like these via daily.dev._

### How was the XZ Utils backdoor CVE-2024-3094 discovered?

Andres Freund discovered the XZ Utils backdoor, listed as CVE-2024-3094 in the NIST national vulnerability database, almost as a byproduct of performance testing, noticing unusual behavior while investigating something unrelated. He described the discovery in a Mastodon post, and it is cited as an example of how closely monitoring software behavior, including energy or performance metrics, can surface critical vulnerabilities.

_Developers tracking major supply chain vulnerabilities like this one can follow security disclosures on daily.dev._

## Similar posts on daily.dev

- [Developing and Deploying Software in a Sustainable Way](https://daily.dev/posts/developing-and-deploying-software-in-a-sustainable-way-s845pvhqt) · InfoQ · 0 upvotes · 0 comments
- [Lessons in Testing, Performance, and Legacy Systems from](https://daily.dev/posts/lessons-in-testing-performance-and-legacy-systems-from-qd1hkgdfb) · GitGuardian · 0 upvotes · 0 comments
- [Turbo-Charging Your PHPUnit Suite](https://daily.dev/posts/turbo-charging-your-phpunit-suite-mgudvkrip) · PHPUnit Expert · 0 upvotes · 0 comments
- [Foojay Podcast \#84: Sustainable Engineering](https://daily.dev/posts/foojay-podcast-84-sustainable-engineering-dgdhuuqnr) · Foojay.io · 0 upvotes · 0 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#cicd](https://daily.dev/tags/cicd)

[View this post on daily.dev](https://daily.dev/posts/how-to-make-testing-more-sustainable-b017zf4ys)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to Make Testing More Sustainable","url":"https://daily.dev/posts/how-to-make-testing-more-sustainable-b017zf4ys","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-make-testing-more-sustainable-b017zf4ys"},"datePublished":"2026-08-27T12:08:24.270Z","dateModified":"2026-09-14T06:56:58.013Z","description":"A talk on DevGreenOps at OOP Conference outlines how to make software testing more energy-efficient: design test strategies to fail fast, skip tests unaffected...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b359823963d99fc0a6459ee4e9b7ab03?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b359823963d99fc0a6459ee4e9b7ab03?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoQ","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoQ","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/afc3bced3e1e4b188dd9127017a60e0c","url":"https://daily.dev/sources/infoq"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-make-testing-more-sustainable-b017zf4ys","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"testing,cicd","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoQ","item":"https://daily.dev/sources/infoq"},{"@type":"ListItem","position":3,"name":"How to Make Testing More Sustainable"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-to-make-testing-more-sustainable-b017zf4ys#faq","mainEntity":[{"@type":"Question","name":"How can I make my automated test suite more energy efficient?","acceptedAnswer":{"@type":"Answer","text":"Design tests to fail fast so a failing unit test halts execution before slower integration, end-to-end, or UI tests run, and only execute tests affected by the code that changed, especially in monorepos where frontend and backend changes are independent. Running static code analysis first to catch inefficiencies like database queries inside loops before executing tests further reduces wasted energy and time. Developers optimizing CI pipelines for efficiency can follow ongoing sustainable testing practices on daily.dev."}},{"@type":"Question","name":"What tool can detect energy inefficiencies in code as a SonarQube plugin?","acceptedAnswer":{"@type":"Answer","text":"Creedengo is an open-source SonarQube plugin that detects easy-to-spot code inefficiencies, such as backend calls or database queries made inside loops, and supports Java, Python, JavaScript, and C#. Some of its rules have only a negligible impact on performance and energy consumption, so it's important to hand-pick a useful subset of rules rather than enabling all of them. Teams comparing static analysis tools for sustainability can track new releases like these via daily.dev."}},{"@type":"Question","name":"How was the XZ Utils backdoor CVE-2024-3094 discovered?","acceptedAnswer":{"@type":"Answer","text":"Andres Freund discovered the XZ Utils backdoor, listed as CVE-2024-3094 in the NIST national vulnerability database, almost as a byproduct of performance testing, noticing unusual behavior while investigating something unrelated. He described the discovery in a Mastodon post, and it is cited as an example of how closely monitoring software behavior, including energy or performance metrics, can surface critical vulnerabilities. Developers tracking major supply chain vulnerabilities like this one can follow security disclosures on daily.dev."}}]}
```

