16 de Agosto de 2024

Shift-Left Testing Manifesto

8 minutos de lectura

This manifesto is an invitation to reflect, collaborate, and continuously improve in the implementation of shift left testing. We hope it inspires you to create your own version!

1. Bug prevention over bug detection:
Detecting bugs is inevitable and necessary, and early detection is crucial. It helps save costs, as the earlier a bug is found in the development cycle, the cheaper it is to fix. Early detection also improves product quality: technically, because fixing bugs in pre-production environments reduces technical debt; and for the user, because these errors don’t make it into the final product, avoiding potential loss of trust in the application.

However, we will prioritize defect prevention. Preventing defects not only saves more money, but it also allows teams to invest more time in new improvements or features instead of fixing errors. There are numerous techniques to assess risks, ask relevant questions, and challenge key aspects to anticipate future problems. Furthermore, this encourages collaboration across the entire team, as we will see later.

2. User satisfaction over delivery times:
Delivery times are crucial, especially in today’s fast-changing environment. Being agile in responding to user needs is essential for most software products. However, we must not confuse “agile” with “fast” or “rushed.” Despite the importance of delivering as soon as possible, we will place more value on user satisfaction: delivering what is truly needed, with quality. Avoiding overengineering and unnecessary features also contributes to earlier and more efficient deliveries. Our main goal will always be achieving user satisfaction.

3. Early collaboration over working in silos:
Teams often include specialised roles such as QA, design, DevOps, development, and POs, among others. While each will work in their area of expertise, fostering early collaboration between the various roles is crucial. For example, QA should work from the beginning with the product or business team in designing new features, or with the design team on accessibility issues. Experience shows that most bugs come from misunderstandings between roles, so promoting joint work, effective communication, and early feedback can significantly reduce the occurrence of errors and turn the team into a proactive group instead of a reactive one, as mentioned in the first point.

Remember that while the right-hand side of every statement is important and unavoidable, we will value the left-hand side more highly.

4. Holistic testing over end-of-cycle testing:
While end-of-cycle testing will still be necessary to ensure the stability and reliability of critical features, holistic testing advocates conducting tests throughout the development cycle. This means viewing coding and testing as part of the same process rather than separate stages. Constantly integrating tests at every phase of development increases confidence in the product and improves its quality. More information on holistic testing can be found here.

5. Metrics for improvement over metrics for reporting:
We live in the era of data, where everything is measured in detail. In the software world, we are also able to gather a lot of data about the behavior of our products. Unfortunately, many organizations still use testing metrics solely for reporting, such as test coverage or the number of bugs, without these metrics, in themselves, adding real value.

It is far more effective to choose a small set of valuable metrics that are related to one another, and then propose improvements based on the results. Over time, this will allow you to assess whether the actions taken have been effective or if the approach needs adjustment.

Recomendados

Shift-Left Testing Manifesto

We are pleased to share with you something we've been working on for several weeks: the Shift Left...

Exploratory Testing: a brief guide to successful testing sessions

Exploratory testing is probably one of the most confusing topics in the world of testing. The most...

The prostitution of the term QA

We are convinced that we have captured your attention with such a captious title, but the truth is...