Is no QA the way to go?
Tags: codequality, development, software, engineering
Published: 2019-11-22 11:47:09

---
title: Is no QA the way to go?
published: true
description: 
tags: quality, development, software, engineering
cover_image: https://images.unsplash.com/photo-1572752742757-9e83ff76f2fd?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80
---

There's no getting away from it, [quality is a whole team responsibility](https://books.google.co.uk/books?id=IdT6AgAAQBAJ). If you're aiming for Continuous Delivery, then you'll recognise one of the core [principles of Continuous Delivery](https://continuousdelivery.com/principles/) is to "Build quality in".

If you've heard of lean development, then you will no doubt have heard of the principle of "The Toyota Production System" of “building quality into” software.

It's inevitable then, that there will be a tension between filling that "QA" role and building a team of "T-Shaped people" who treat quality as a first class citizen.

## Put quality first

> “Cease dependence on inspection to achieve quality. Eliminate the need for inspection on a mass basis by building quality into the product in the first place.” - Dr. W. Edwards Deming

Quality is not something we should just tack on the end, it should help us to "shift left" – unfortunately, that’s often exactly where we seem to identify that support is needed – at the end, making sure the developers have met the acceptance criteria and haven't introduced any bugs. You have to ask, why?

To get new features to market quickly, we often trade off quality for higher velocity. This is a sensible and rational decision. But at some point, the complexity of our systems becomes a limiting factor on our ability to deliver new work, and we hit a brick wall.

When exploring, there is a tension between the need to experiment by building MVPs, and building at high levels of quality through practices such as test automation.

Test automation is still controversial in some organisations, but it is impossible to achieve short lead times and high-quality releases without it.

>“The paradox is that when managers focus on productivity, long-term improvements are rarely made. On the other hand, when managers focus on quality, productivity improves continuously” - John Seddon, inventor of the Vanguard Method

Statistical analysis revealed that when engineering teams hold themselves accountable for the quality of their code through peer review, lead times and release frequency improved considerably with negligible impact on system stability.

> “The difficulty in defining quality is to translate future needs of the user into measurable characteristics, so that a product can be designed and turned out to give satisfaction at a price the user will pay”. - Walter Shewhart, known as the father of statistical quality control

Werner Vogels, CTO of Amazon, says, “You build it, you run it”. This, along with the rule that all service interfaces are designed to be externalizable, has some important consequences. As Vogels points out, this way of organizing teams “brings developers into contact with the day-to-day operation of their software.

It also brings them into day-to-day contact with the customer. This customer feedback loop is essential for improving the quality of the service.”

## Influence the culture

NUMMI was a broken organisation was reformed under a new leadership and management paradigm. Despite rehiring the same people, NUMMI achieved extraordinary levels of quality and productivity and reduced costs. In an article for [MIT Sloan Management Review, John Shook, Toyota City’s first US employee, rected on how that cultural change was achieved](https://sloanreview.mit.edu/article/how-to-change-a-culture-lessons-from-nummi/):

>What my NUMMI experience taught me that was so powerful was that the way to change culture is not to first change how people think, but instead to start by changing how people behave—what they do. 
>
>Those of us trying to change our organizations’ culture need to define the things we want to do, the ways we want to behave and want each other to behave, to provide training and then to do what is necessary to reinforce those behaviors. The culture will change as a result… What changed the culture at NUMMI wasn’t an abstract notion of “employee involvement” or “a learning organization” or even “culture” at all.

What changed the culture was giving employees the means by which they could successfully do their jobs. It was communicating clearly to employees what their jobs were and providing the training and tools to enable them to perform those jobs successfully.

As we do with functional and performance quality, we build evidence of compliance into our daily work so we don’t have to resort to large batch inspections after most of the work has been done.

## Make it OK to fail

There are people that are really good at acceptance testing and exploratory testing, that have a keen eye for issues and aesthetics which often developers just simply lack, plus they often come at a piece of work from a different angel. A person in a QA role are a good sounding board and a valuable member of the team, and would help improve automated testing.

However, it can mean that someone in a QA role are at risk of becoming a bottleneck, a gate. Adding more capacity to the bottleneck isn’t the solution here. There's many ways you can improve throughput without adding more resources to a bottleneck.
 
A QA should not be a blocker to getting work released, otherwise they are a gate and gates become bottlenecks. The question is, can the system survive without a QA present?

It has to be OK to fail. It's easy to recognise that developers don’t like to fail or even get things wrong. By always relying on a QA to qualify work, having someone who will always catch the issues before they go out will mean that, as developers, we will never learn. Instead, developers will need to take ownership of their work, end to end. If it goes wrong, it should be on them to fix it, nobody else.

Sure, I’m not suggesting to adopt Facebook’s “move fast and break things” mantra, but you can make it safe to fail so long as you learn. It’s OK to fail, so long as we continuously improve and quality goes up. It’s easy to get stuck on quality at the last mile, which often means we don’t stop to figure out how to improve our processes upstream.

Root cause analysis is a great example of the type of learning that can be done after a failure. What we find is that they did do the right thing the right way and evaluated the risks at the start, but they still failed. The problems were in quality control – the process. Therefore it's a process that needs improvement, not the people.

## Behaviours not roles

It's no surprise that by hiring someone to fill a QA role, the process may not improve and lead time can actually get worse. That's why it's key to hire people who will continue to improve processes and lead time so that quality can improve.

My view is that the better the lead time, the faster we can learn, the faster we can deal with problems, the faster we can get better and fix the process.
 
Not hiring a QA is a contrarian view but it’s something that every team needs to consider. That doesn't mean fire your QA, no. It means you need to have people who can do the work you need to do, not just tick the “QA” box. There needs to be "quality advocates" on your team, remembering that quality is a whole team responsibility.

If you need to invest in automation testing, then it's a good idea to hire people who have that skill set or invest in your existing team and train your QA to do more than just manual testing.

> “If you can’t measure it, you can’t improve it” – Peter Drucker.

If you're trying to decide whether to hire a QA or not, it’s a good idea to agree on a definitive way to measure success, quality and lead time before hiring as that will tell you if it's working or not.

## Resources

Here's some further reading on the matters discussed in this article.

### Presentations
- [Quality Built In @ Spotify](https://www.slideshare.net/AndrewDzynia/quality-built-in/)
- [So we're going no-QA - how do we get the devs to do enough testing?](https://www.slideshare.net/hogsmill/so-were-going-noqa-how-do-we-get-the-devs-to-do-enough-testing)
- [Agile Testing: The Role Of The Agile Tester](https://www.slideshare.net/dwhelan/agile-testing-and-the-role-of-the-agile-tester)
- [Agile Testing – embedding testing into agile software development lifecycle](https://www.slideshare.net/kkakkonen/agile-testing-kari-kakkonen-16062014)
- [Move Fast & Don't Break Things - Google](https://docs.google.com/presentation/d/15gNk21rjer3xo-b1ZqyQVGebOp_aPvHU3YH7YnOMxtE/edit)
- [GTAC 2014: Move Fast & Don't Break Things](https://www.youtube.com/watch?v=j_JviA5nvS0)

### Articles
- [The QA Role - What Is It Really? - Kenny Cruden, QA Consultant](https://www.thoughtworks.com/insights/blog/qa-role-what-it-really)
- [Is QA Dead? - Rouan Wilsenach, Software Developer](https://www.thoughtworks.com/insights/blog/qa-dead)
- [Software Testing – Is It Time to Fire Your QA Team?](https://dzone.com/articles/software-testing-is-it-time-to-fire-your-qa-team)
- [T-shaped skills](https://en.wikipedia.org/wiki/T-shaped_skills)
- [Building Square-Shaped Teams With T-Shaped People](http://web.archive.org/web/20180904072759/https://scrumtalks.blog/2015/07/07/building-square-shaped-teams-with-t-shaped-people/)
- [So we're going "No QAs". How do we get the devs to do enough testing?](https://www.linkedin.com/pulse/so-were-going-qas-how-do-we-get-devs-enough-testing-steve-wells/)
- [Why Facebook doesn't have or need testers](https://www.zdnet.com/article/why-facebook-doesnt-have-or-need-testers/)
- [A T-shaped person is capable in many things and expert in, at least, one.](https://medium.com/@jchyip/why-t-shaped-people-e8706198e437)
- [Why T-shaped people?](https://medium.com/@jchyip/why-t-shaped-people-e8706198e437)
- [IDEO CEO Tim Brown: T-Shaped Stars: The Backbone of IDEO’s Collaborative Culture](https://chiefexecutive.net/ideo-ceo-tim-brown-t-shaped-stars-the-backbone-of-ideoaes-collaborative-culture__trashed/)
- [T-Shaped Innovators: Identifying the Right Talent to Support Service Innovation](https://www.questia.com/library/journal/1G1-428875322/t-shaped-innovators-identifying-the-right-talent)
- [DevOps trends (and effect on quality)](https://www.soapui.org/learn/automation/dev-ops-trends.html)
- [Test automation: the secret to DevOps success](https://www.atlassian.com/blog/devops/test-automation-secret-devops-success)
- [Agile Testing for the Whole Team](http://web.archive.org/web/20191105132445/https://skillsmatter.com/courses/284-whole-team-approach-to-agile-testing)
- [Improving test automation with PUMA](http://www.bbc.co.uk/blogs/internet/entries/ba0c030e-d031-4ab6-8ba6-3afe41807b55)
- [Test Automation Strategy For Agile Projects](https://www.testingexcellence.com/test-automation-strategy-agile-projects/)
- [Use DevOps to drive quality assurance and testing](https://developer.ibm.com/articles/d-devops-drive-quality-assurance-testing/)
- [DevOps Testing – Using a Whole Team Approach to Improve Quality](https://dzone.com/articles/devops-testing-using-a-whole-team-approach-to-impr)
- [Role of Testers in Agile Teams](https://www.infoq.com/news/2015/11/testers-agile-teams)
- [The Ascendancy of Testers](https://www.infoq.com/news/2011/02/ascendancy-testers)
- [The Future of QA at Atlassian](https://www.infoq.com/news/2016/11/future-qa-atlassian)
- [Testers in TDD teams](https://www.infoq.com/articles/testers-TDD-teams)
- [The new QA: the Quality Advocate](https://watirmelon.blog/2013/02/28/the-new-qa-the-quality-advocate/)
- [Zuckerberg: 'Move fast and break things' isn't how Facebook operates anymore](https://www.cnet.com/news/zuckerberg-move-fast-and-break-things-isnt-how-we-operate-anymore/)
- [DevOps: Who Does What (Part 1)](https://dzone.com/articles/devops-who-does-what)
- [5 effective and powerful ways to test like tech giants](https://techbeacon.com/how-tech-giants-test-software-theres-no-one-way-qa)
- [Using the Agile Testing Quadrants](https://lisacrispin.com/2011/11/08/using-the-agile-testing-quadrants/)
- [Superior Quality Built In](http://www.toyotauk.com/how-we-manufacture/quality.html)
- [Theory of constraints](https://en.wikipedia.org/wiki/Theory_of_constraints)
- [Unblocking Bottlenecks](https://www.mindtools.com/pages/article/newTMC_76.htm)
- [NUMMI (This American Life)](https://www.thisamericanlife.org/403/transcript)