Skip to main content

Why Do They Test Software?


My friend Rachel Kibler asked me the other day "do you have a blog post about why we test software?" and I was surprised to find that, despite having touched on the topic many times, I haven't.

So then I thought I'd write one.

And then I thought it might be fun to crowdsource so I asked in the Association for Software Testing member's Slack, on LinkedIn, and on Twitter for reasons, one sentence each.

And it was fun! 

Here are the varied answers, a couple lightly edited, with thanks to everyone who contributed.

Edit: I did a bit of analysis of the responses in Reasons to be Cheerful, Part 2.

--00--

Software is complicated, and the people that use it are even worse. — Andy Hird

Because there is what software does, what people say it does, and what other people want it to do, and those are often not the same. — Andy Hird

Because someone asked/told us to — Lee Hawkins

To learn, and identify risks — Louise Perold

sometimes: reducing the risk of harming people — Ilari Henrik Aegerter

since part of software is a complex system: To reveal unknown unknowns — Ilari Henrik Aegerter

but unfortunately also: as a masochistic self-medication practice — Ilari Henrik Aegerter

my definition: “Testing is the art of finding out what software can do, where it fails to do what it claims, and what else the product does that might be surprising” — Ilari Henrik Aegerter

We test software because between what business wants and what engineers deliver, a lot of information gets lost/filtered/unexplored. And it is important to find that information and bring it on the table for everybody to know what to do next —  Lalit Bhamare

I took this one from a list of Software Testing Myths: "Testing is a measure of quality. The number of defects you find indicates the quality of the product." — Dusty Juhl

Testing is important because of risks we know about and risks we uncover during the activity. — Rachel Kibler

Testing is funtastic. — Aleksandar Simic

Living for testing, testing for living. — Aleksandar Simic

It depends on what I'm testing at the moment.  Lately I test to ensure we are releasing the product/feature that our company wanted to release, and that users will enjoy. — Joel Montvelisky

For me testing has always been a service,  as such the most important thing is to fulfill the needs we were brought to provide.  — Joel Montvelisky

If I needed to come up with a general umbrella reason for my testing… it would need to be around reducing the risk of disappointing / harming the people who will eventually work with our product  — Joel Montvelisky

It costs less than not testing. (in terms of reputation, hotfixes, etc) — Amit Wertheimer

It provides some ease-of-mind to the decision takers, and sleeping well is valuable. — Amit Wertheimer

In both cases, it's not always true, and if so - we should not test. If there's a way to gain enough confidence to sleep well, or have a way to avoid problems without testing, we should definitely explore it. — Amit Wertheimer

I work in testing because, in college, while I did well in my programing classes I wasn't the top of my class, whereas I was the top of my software testing classes. Since, virtually no-one else even had testing classes I could be a rock star there. — Curtis Pettit

I stay in testing because, its more fun, I'm still better at it, and I can avoid most of the non-programming problems that devs have, fighting with builds, monitoring tools, ect. While still writing as much code as I like. — Curtis Pettit

Because we prefer most of the feedback on our software to be deliberate feedback. Deliberate as in: influence and/or control over the what/when/how/... allows it to be more timely, more information-rich, more actionable. — Joep Schuurkes

We test software, to help make design decisions. — The Full Snack Tester (Ben Dowen)

We test software, to gain evidence through observation that help use make judgements about software quality. — The Full Snack Tester (Ben Dowen)

We test software, so we can identify friction and misbehaviours before our users. — The Full Snack Tester (Ben Dowen)

I test for compliance to organizational and regulatory expectations — Perze Ababa

tests help me follow and document where the data flows and what the system does to each data whenever there’s a handoff — Perze Ababa

To be less embarrassed after release. — Lena (Pejgan) Wiberg

To reduce the risk for at least some lawsuits. — Lena (Pejgan) Wiberg

To be able to be able to sleep better at night — Lena (Pejgan) Wiberg

Because it’s really fun, like detective work — Lena (Pejgan) Wiberg

We test, to learn the difference, if any, from how we expect software to behave and how it actually behaves in operation. — The Full Snack Tester (Ben Dowen)

We test software, to investigate potential risks and understand if our mitigation and avoidance of those risks are working. — The Full Snack Tester (Ben Dowen)

I test to understand the product as it exists today. — Chris Kenst

The necessity of a project to test software? To find it's problems. Finding no problems by a certain pattern is also a valid result, just more unlikely to happen.  — ☮️🕊️☯️📢Sebastian, Life Tester [Sebastian linked to a Michael Bolton thread on the topic]

I test mainly to have confidence for refactoring and extension. — Benjamin Bischoff

We test software because we want to learn as much as we can about it and we are specifically keen to find out if there are any potential problems associated with it. — David Högberg

To praraphrase @NicolaLindgren: We test software to be able to affect the perception of the product’s quality. — David Högberg

We test only because the risk of not testing is deemed to high a price to pay — Stu C

I test my code to gain confidence that what it does in reality matches my expectations. — Samuel Nitsche

I do it often as automation to have a signal for unexpected change in the future. — Samuel Nitsche

I do it to document the intentions I had when writing the software. — Samuel Nitsche

To learn something that we want to know — jonhussey

We test to reduce uncertaincy — Declan O'Riordan

We test software to find out if there are differences between the product we’ve got, the product we think we have, and the product we want. — Michael Bolton

Whenever clever people try to do clever things, there's an element of risk. Someone might not understand exactly what the customer and the business want—and the customers or the business might not even know for sure. — Michael Bolton

Programmers might commit errors in implementing the code; smart people make mistakes too. — Michael Bolton

Finding those problems is important when things are serious. When health, life, safety, money, opportunity, reputation — individual and social values — could be at risk. — Michael Bolton [Michael elaborated further in his answer]

To discover the weird and wonderful quirks of the software in question! — Martin Pihl

Testing is a recognition of the fact that 'to err is human' ... The timing of, and degree to which we test, is determined by the potential risk of the change, combined with the impact of what might happen if we don't test. — Parshotam Toora

Entropy. There are an infinite number of ways in which software, that is part of a complex system, can fail. There are only a few ways in which it can succeed. Testing is one approach to find out how it will/can/may fail so you can address that issue approprioately. — Dennis de Booij

We test everything, don’t we? New electronics, relationships, software, habits.. Sort of finding something that you put a value or you will. 😄 — Yasemin Bostancı

We test software to gain confidence on what we are actually doing is what we expected to do as a team. — Trisha Chetani

We test the software because we as a company do not want our customers to find the same issue. — Trisha Chetani

We test software because the company brand name and image are not at stake. We want to convey that our software application requires lower maintenance cost and hence results in more accurate, consistent, and reliable software. — Trisha Chetani

We test software because users can do what they want to do. — Trisha Chetani

We test software because the company can reduce the cost which comes from when people find a lot of issues in production (could be any environment) and are not able to use the software in later stages of the development cycle. — Trisha Chetani

We test software because the company can gain in a way customer satisfaction by producing the quality release of each software version. — Trisha Chetani

We test the software because we enhance the software development process and make it easier for the company to add or remove new features by having confidence. — Trisha Chetani

One of those big questions: “why we develop software “. To serve humanity and us in a symbiotic relationship towards improvement as a race. (Too pophetic for a Sunday 😅). — Robin Gupta

To uncover product and project risk. — Ravi Malayappan

To empirically find out more information about the product. — Ravi Malayappan

In regulatory environments you simply have to do it because the government said so :)! — Ravi Malayappan

Because we want to know where we are with the product to help us make decisions about what to do next with the product. — Pavel Šaman

To increase the quality "hopefully" to reach 5 star product. — Anees Nasry

Emphasize the "SAFE" feeling of customer while using the product. — Anees Nasry

Expand my perspective of how people (Product Owners, Developrs, clients,...) think in different domains. — Anees Nasry

As it's one of the important life's hack (in my humble opinion) — Anees Nasry

Because those involved in software development are wonderful and human and therefore very naturally fallible. — Andrew Kelly

Not being perfect carries risk so we test to discover, investigate and manage that risk. — Andrew Kelly

If you feel pride in the product you want to make sure your end users get the best experience possible. — Georg Neumann

Because developers aren't good testers. :) — Maninder Singh
Image: https://flic.kr/p/4YeBmg

Comments

  1. No one quoted Bruce Eckel so I will, I think this classic captures the simple truth behind why we test anything. "If it's not tested, it's broken".

    ReplyDelete
  2. This article was curated as a part of the #51st Issue of Software Testing Notes Newsletter.
    https://softwaretestingnotes.substack.com/p/issue-51-software-testing-notes

    ReplyDelete
  3. So, most testers have no idea why they spend their lives working at testing things.

    ReplyDelete

Post a Comment

Popular posts from this blog

Enjoy Testing

  The testers at work had a lean coffee session this week. One of the questions was  "I like testing best because ..." I said that I find the combination of technical, intellectual, and social challenges endlessly enjoyable, fascinating, and stimulating. That's easy to say, and it sounds good too, but today I wondered whether my work actually reflects it. So I made a list of some of the things I did in the last working week: investigating a production problem and pairing to file an incident report finding problems in the incident reporting process feeding back in various ways to various people about the reporting process facilitating a cross-team retrospective on the Kubernetes issue that affected my team's service participating in several lengthy calibration workshops as my team merges with another trying to walk a line between presenting my perspective on things I find important and over-contributing providing feedback and advice on the process identifying a

Testing (AI) is Testing

Last November I gave a talk, Random Exploration of a Chatbot API , at the BCS Testing, Diversity, AI Conference .  It was a nice surprise afterwards to be offered a book from their catalogue and I chose Artificial Intelligence and Software Testing by Rex Black, James Davenport, Joanna Olszewska, Jeremias Rößler, Adam Leon Smith, and Jonathon Wright.  This week, on a couple of train journeys around East Anglia, I read it and made sketchnotes. As someone not deeply into this field, but who has been experimenting with AI as a testing tool at work, I found the landscape view provided by the book interesting, particularly the lists: of challenges in testing AI, of approaches to testing AI, and of quality aspects to consider when evaluating AI.  Despite the hype around the area right now there's much that any competent tester will be familiar with, and skills that translate directly. Where there's likely to be novelty is in the technology, and the technical domain, and the effect of

Notes on Testing Notes

Ben Dowen pinged me and others on Twitter last week , asking for "a nice concise resource to link to for a blog post - about taking good Testing notes." I didn't have one so I thought I'd write a few words on how I'm doing it at the moment for my work at Ada Health, alongside Ben. You may have read previously that I use a script to upload Markdown-based text files to Confluence . Here's the template that I start from: # Date + Title # Mission # Summary WIP! # Notes Then I fill out what I plan to do. The Mission can be as high or low level as I want it to be. Sometimes, if deeper context might be valuable I'll add a Background subsection to it. I don't fill in the Summary section until the end. It's a high-level overview of what I did, what I found, risks identified, value provided, and so on. Between the Mission and Summary I hope that a reader can see what I initially intended and what actually

The Great Post Office Scandal

  The Great Post Office Scandal by Nick Wallis is a depressing, dispiriting, and disheartening read. For anyone that cares about fairness and ethics in the relationship that business and technology has with individuals and wider society, at least. As a software tester working in the healthcare sector who has signed up to the ACM code of ethics through my membership of the Association for Software Testing I put myself firmly in that camp. Wallis does extraordinarily well to weave a compelling and readable narrative out of a years-long story with a large and constantly-changing cast and depth across subjects ranging from the intensely personal to extremely technical, and through procedure, jurisprudence, politics, and corporate governance. I won't try to summarise that story here (although Wikipedia takes a couple of stabs at it ) but I'll pull out a handful of threads that I think testers might be interested in: The unbelievable naivety which lead to Horizon (the system at th

Agile Testing Questioned

Zenzi Ali has been running a book club on the Association for Software Testing Slack and over the last few weeks we've read Agile Testing Condensed by Janet Gregory and Lisa Crispin. Each chapter was taken as a jumping off point for one or two discussion points and I really enjoyed the opportunity to think about the questions Zenzi posed and sometimes pop a question or two back into the conversation as well. This post reproduces the questions and my answers, lightly edited for formatting. --00-- Ten principles of agile testing are given in the book. Do you think there is a foundational principle that the others must be built upon? In your experience, do you find that some of these principles are less or more important than others?  The text says they are for a team wanting to deliver the highest-quality product they can. If we can regard a motivation as a foundational principle, perhaps that could be it: each of the ten pr

Testers are Gate-Crashers

  The Association for Software Testing is crowd-sourcing a book,  Navigating the World as a Context-Driven Tester , which aims to provide  responses to common questions and statements about testing from a  context-driven perspective . It's being edited by  Lee Hawkins  who is  posing questions on  Twitter ,   LinkedIn , Mastodon , Slack , and the AST  mailing list  and then collating the replies, focusing on practice over theory. I've decided to  contribute  by answering briefly, and without a lot of editing or crafting, by imagining that I'm speaking to someone in software development who's acting in good faith, cares about their work and mine, but doesn't have much visibility of what testing can be. Perhaps you'd like to join me?   --00-- "Testers are the gatekeepers of quality" Instinctively I don't like the sound of that, but I wonder what you mean by it. Perhaps one or more of these? Testers set the quality sta

Leaps and Boundary Objects

Brian Marick  recently launched a new podcast, Oddly Influenced . I said this about it on Twitter: Boundary Objects, the first episode of @marick's podcast, is thought-provoking and densely-packed with some lovely turns of phrase. I played it twice in a row. Very roughly, boundary objects are things or concepts that help different interest groups to collaborate by being ambiguous enough to be meaningful and motivational to all parties. Wikipedia  elaborates, somewhat formally:  [boundary objects are] both plastic enough to adapt to local needs and constraints of the several parties employing them, yet robust enough to maintain a common identity across sites ... The creation and management of boundary objects is key in developing and maintaining coherence across intersecting social worlds. The podcast talks about boundary objects in general and then applies the idea to software development specifically, casting acceptance test

Where No-one Else Looks

In yesterday's post, Optimising start of your exploratory testing , Maaret Pyhäjärvi lists anti-patterns she's observed in testers that can lead to shallow outcomes of testing. She ends with this call: Go find (some of) what the others have missed! That strikes a chord. In Toujours Testing I recalled how my young daughter, in her self-appointed role as a Thing Searcher, had asked me how she could find things that no-one else finds. I replied Look where no-one else looks. Which made her happy, but also made me happy because that instinctive response externalised something that had previously been internal.  The phrase has stuck, too, and I recall it when I'm working. It doesn't mean targeting the obscure, although it can mean that.  It also doesn't mean not looking at areas that have previously been covered, although again it can mean that. More, for me, it is about seeking levels of granularity, or perspectives, or methods of engagement, or personas, or data, or im

Am I Wrong?

I happened across Exploratory Testing: Why Is It Not Ideal for Agile Projects? by Vitaly Prus this week and I was triggered. But why? I took a few minutes to think that through. Partly, I guess, I feel directly challenged. I work on an agile project (by the definition in the article) and I would say that I use exclusively exploratory testing. Naturally, I like to think I'm doing a good job. Am I wrong? After calming down, and re-reading the article a couple of times, I don't think so. 😸 From the start, even the title makes me tense. The ideal solution is a perfect solution, the best solution. My context-driven instincts are reluctant to accept the premise, and I wonder what the author thinks is an ideal solution for an agile project, or any project. I notice also that I slid so easily from "an approach is not ideal" into "I am not doing a good job" and, in retrospect, that makes me smile. It doesn't do any harm to be reminded that your cognitive bias

External Brains

A month or two ago, after seeing how I was taking notes and sharing information, a colleague pointed me at Tiego Forte's blog on Building a Second Brain : [BASB is] a methodology for saving and systematically reminding us of the ideas, inspirations, insights, and connections we’ve gained through our experience. It expands our memory and our intellect... That definitely sounded like my kind of thing so I ordered the upcoming book, waited for it to arrive, and then read it in a couple of sittings. Very crudely, I'd summarise it something like this: notes are atomic items, each one a single idea, and are not just textual notes should capture what your gut tells you could be valuable notes should capture what you think you need right now notes should preserve important context for restarting work notes on a topic are bundled in a folder for a Project, Area, or Resource and moved into Archive when they're done. ( PARA )