← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Jochen Joswig Discusses Sustainable Testing Strategies at OOP Conference

🔄 Updated 2h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Skip unnecessary tests to reduce execution time and energy.
  • Implement fail-fast strategies to halt test execution early.
  • Run only tests affected by recent code changes.
  • Track energy consumption or proxy metrics for test optimization.

Optimizing Test Execution

Jochen Joswig, in his DevGreenOps talk at the OOP Conference, outlined methods for sustainable testing. The core idea involves setting up a testing strategy that minimizes the number of executed tests, thereby reducing both time and energy consumption. This approach aligns with principles of minimalism and efficiency in software development.

Fail-Fast and Targeted Testing

A key recommendation is to design testing strategies for fast and early failure. If a unit test fails, subsequent integration or end-to-end tests can be skipped, saving resources. Joswig also suggested executing only tests relevant to changed code, particularly in monorepo environments. For example, if only frontend code is modified, backend tests are not necessary.

Monitoring and Static Analysis

To further improve test setups, Joswig proposed tracking the energy consumption of individual tests. This data can be fed into observability stacks to flag methods or runs exceeding energy thresholds, prompting re-engineering for performance optimization. If direct energy consumption tracking is not possible, proxy metrics like MB transferred, time, CPU, and memory utilization can be used.

Identifying Inefficiencies with Static Code Analysis

Joswig recommended using static code analysis to identify inefficiencies, such as backend calls or database queries within loops. He mentioned Creedengo, an open-source SonarQube plugin supporting Java, Python, JavaScript, and C#, as a tool for this purpose. Closed-source alternatives may offer broader support for detecting code inefficiencies.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~20 min · 17 stories · Aug 27

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Jochen Joswig presented strategies for sustainable testing at the OOP Conference, focusing on reducing unnecessary test executions and optimizing resource use. These methods aim to decrease testing time and energy consumption by running only essential tests and those affected by code changes.