Article may be outdated

This article is 46 days old. Some details may have changed since publication.

infoq.com·3 min read·hard

How to Make Testing More Sustainable

B
Ben Linders
How to Make Testing More Sustainable
✦AI Summary

Software testing expert Joswig outlines strategies for sustainable testing, emphasizing efficiency and energy reduction. Recommendations include designing tests to fail fast, executing only necessary tests based on code changes, and monitoring energy consumption metrics.

Why it matters

Optimizing software testing processes reduces operational costs and the environmental footprint of large-scale development projects.

✦Dive DeeperCreate a free account to unlock

InfoQ Homepage News How to Make Testing More Sustainable

Sustainable testing starts with setting up a proper testing strategy, Joswig mentioned. This ensures that no unnecessary tests and test cases are executed, which not only reduces the time it takes to do testing, but also ensures that your testing follows the minimalism and efficiency criteria, he added.

Joswig also recommended reducing the number of executed tests to what's absolutely necessary:

By designing the testing strategy, so that tests fail fast and early, because once a test fails, the execution of the rest can be halted, thus saving energy and time. Typically unit tests run first, catching an error here means that no integration test, end to end test, UI tests, etc. must be run.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyenvironment
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in