Testing Strategies: Reconsidering the Unit and Overcoming Resistance to Change

Testing is a key part of software development. It ensures that code changes are safe, reduces mean time to resolution (MTTR), and improves the developer experience. However, for faster and more efficient delivery, it’s important to pay attention to testing strategies and how they can be optimized.

The Importance of a Good Testing Strategy.

Ensuring Safe Code Changes

Testing provides the confidence necessary to make changes without fear of introducing bugs that could disrupt a system. The lack of testing can lead to severe consequences, such as data loss, system failures, or user privacy breaches.

Delivering fast and reducing MTTR

Testing helps reduce MTTR, which is the average time required to repair an issue. By catching bugs early, testing enables developers to fix problems before they escalate, thus improving system performance and user satisfaction.

Improving the Developer Experience

Testing improves the developer experience by reducing stress and increasing productivity. With effective testing practices, developers can focus on creating new features rather than having to spend time fixing bugs.

Especially important for iterative development, uncertainty, or changing requirements

Good testing strategies are particularly important for teams that develop in iterations, work in environments with high uncertainty, or have frequently changing requirements. Without testing, these teams may struggle to maintain system reliability and performance.

Redefining the Unit for More Efficient Testing

Traditionally, the “unit” for testing has been defined as a “class or method”. However, this approach may not be optimal for testing increasingly complex systems. Testing small units of functionality or small modules may be a more efficient way to test since they reduce the time spent implementing changes.

Moving towards small units of functionality

There is a shift towards smaller units of functionality in testing, which is often referred to as “microtesting.” Using smaller units can help developers track down bugs more quickly, which reduces the time it takes to fix issues.

Reducing the Time Required for Implementing Changes

Small units of functionality also reduce the time it takes to implement changes, which can help improve delivery times. As codebases grow in complexity, making changes can become time-consuming and error-prone. With microtesting, changes can be made more efficiently and with fewer errors.

The Cost of End-to-End Tests

End-to-end tests are comprehensive tests that examine the entire system, from the user interface to the backend. While these tests provide an accurate picture of how the system performs, they are often very expensive both in terms of time and money.

Adopting Changes and Overcoming Resistance

The need to adopt changes in testing strategies may be met with resistance from developers. However, there are ways to overcome this resistance.

Willpower is not always enough

Willpower alone is often not enough to encourage developers to adopt new testing practices. Changes can be difficult to make, especially when old habits are entrenched.

Developing an immune system for changes

As humans, we have a natural immune system that defends our bodies against harmful viruses and bacteria. Similarly, we can develop an “immune system” for changes in testing strategies. This involves recognizing the benefits of testing, embracing new approaches, and letting go of old habits.

The Importance of Testing Over Time

Tests only give us confidence over time. Consistent testing builds confidence in the reliability of a system and can reduce the frequency of bugs emerging over time.

Hacks provide illusions of speed

Hacks can create an illusion of fast results, but they can actually harm a system’s long-term health. Consistent testing is necessary to ensure long-term reliability and performance.

The Consequences of an Inappropriate Testing Strategy

An inappropriate testing strategy can slow down delivery, deteriorate developer happiness and experience. Teams need to ensure that their testing strategies are appropriate for the complexity of their systems and the needs of their users.

An inappropriate testing strategy can slow down delivery by introducing bugs that need to be fixed, leading to longer development lead times.

Deteriorating Developer Happiness and Experience

An inappropriate testing strategy can harm the developer experience, leading to frustration and burnout. Developers need tools and strategies that help them focus on delivering features rather than getting bogged down in fixing bugs.

Rethinking the concept of the unit

The concept of the testing unit could benefit from its own refactoring. The traditional “unit” for testing may need to be redefined for more efficient and effective testing.

The Need for Refactoring

Refactoring is the process of improving code quality by making it more readable, maintainable, and efficient. Similarly, the concept of “unit” may need to be refactored to reflect the realities of modern software development.

Testing strategies are critical to successful software development. By adopting a testing strategy that is appropriate for the complexity of a system, teams can ensure the safety and reliability of code changes, reduce MTTR, and improve the developer experience. The concept of the unit may need to be rethought to keep pace with the evolving nature of software development. Finally, overcoming resistance to changes and embracing new approaches is essential for effective testing strategies.

Explore more

How AI Agents Work: Types, Uses, Vendors, and Future

From Scripted Bots to Autonomous Coworkers: Why AI Agents Matter Now Everyday workflows are quietly shifting from predictable point-and-click forms into fluid conversations with software that listens, reasons, and takes action across tools without being micromanaged at every step. The momentum behind this change did not arise overnight; organizations spent years automating tasks inside rigid templates only to find that

AI Coding Agents – Review

A Surge Meets Old Lessons Executives promised dazzling efficiency and cost savings by letting AI write most of the code while humans merely supervise, but the past months told a sharper story about speed without discipline turning routine mistakes into outages, leaks, and public postmortems that no board wants to read. Enthusiasm did not vanish; it matured. The technology accelerated

Open Loop Transit Payments – Review

A Fare Without Friction Millions of riders today expect to tap a bank card or phone at a gate, glide through in under half a second, and trust that the system will sort out the best fare later without standing in line for a special card. That expectation sits at the heart of Mastercard’s enhanced open-loop transit solution, which replaces

OVHcloud Unveils 3-AZ Berlin Region for Sovereign EU Cloud

A Launch That Raised The Stakes Under the TV tower’s gaze, a new cloud region stitched across Berlin quietly went live with three availability zones spaced by dozens of kilometers, each with its own power, cooling, and networking, and it recalibrated how European institutions plan for resilience and control. The design read like a utility blueprint rather than a tech

Can the Energy Transition Keep Pace With the AI Boom?

Introduction Power bills are rising even as cleaner energy gains ground because AI’s electricity hunger is rewriting the grid’s playbook and compressing timelines once thought generous. The collision of surging digital demand, sharpened corporate strategy, and evolving policy has turned the energy transition from a marathon into a series of sprints. Data centers, crypto mines, and electrifying freight now press