Skip to main content

Them's the Breaks

After not really thinking about it for a long time, the other week I bumped into a handful of Twitter profiles claiming that their tester owner broke software and soon after happened across a couple of related discussions (1, 2).

Conversations about this old chestnut (see also certification, whether testers should be able to code, testing as art vs science etc) tend to be around whether or not finding issues can be classed as breaking the software or merely as exposing existing flaws. But probably even those who sit at the yeah-smash-it! end of the spectrum would admit that they've found a bug or two that didn't cause the software to perform the dying fly and maybe even agree that, occasionally, finding the esoteric corner case with a severe outcome may not be as useful as finding half a dozen minor UX issues that improves product workflow for a core user story without changing the basic capabilities or robustness of the software.

Even as a young buck (although to be honest I wasn't that young when I started in testing and I doubt even my wife would have called me a buck) I don't know whether I ever had the attitude that I was breaking the product. These days I increasingly feel during testing that I'm inviting the software to show me how it responds to my requests, rather than challenging it to cope with what I can throw at it. That's not to say that I don't test to stress some feature, or that an all-out assault is never appropriate, but that my mindset is more likely to be one of creating scenarios where the product can demonstrate its (lack of) correctness, usability, responsiveness, performance, reliability or whatever factors I'm interested in.

Does this make a difference?  I think that it can and here's a couple of reasons why:

Testing is an activity of which only a part involves some kind of interaction with the system under test but it's an activity in which every part is some kind of communication, direct or indirect, with some another participant in the development or use of the software. When you're probing some aspect of functionality you're talking to the developer via the code or a product owner via the spec or user stories. When you find an issue, the way you conceive your task, the kind of dialogue you're having with the other person or people, can carry over into your reports. Compare, for example two headline reports for the same problem:
  • I loaded every large document from the scratch disk into the system at once to see what would happen and it crapped out pathetically with a useless error message.
  • While investigating how the system performed under stress I loaded a collection of large documents simultaneously. The server failed and the error message was unhelpful in diagnosing the cause.
An aggressive stance can provoke an aggressive response.

Of course, it doesn't have to follow that the wrecking approach results in ranting reports, but it's putting the writer in a place where those kinds of words come out more naturally. Some kinds of testing, particularly to do with exploits, do fit with an belligerent, deliberately malicious attitude - security being an obvious one - but even there I feel like the scenario is what needs to be aggressive, not the tester implementing it.

In your interactions with other stakeholders you should probably, for the sake of credibility, try not to give the impression that the only thing the team is concerned with is whether or not they can stuff their favourite Gutenberg text into every text field in the SUT. Simple changes of emphasis such as replacing breaking with exercising or broadening out to exploring can make a big difference.

When generating test ideas a shift in focus from attack to invitation may cause reprioritisation, may provoke thoughts of tests in different areas. Sure, you still have to look for functional correctness and error handling and the like, but you should also be thinking about the goals of the consumers of this feature, how you can put the product to work on them, around them, how the product helps and hinders you in achieving those goals.

Feel differently? What's the key thing here for you?
Image: http://flic.kr/p/71GAu2

Comments

  1. Great post. I've been testing software since the 1980s (eek!) and while it used to be more fun to try to overwhelm the system and get spectacular crashes, it's not really all that useful to my customers (by which I mean the developers and project managers). If I had to do a triple lutz jump whilst (and at the same time) firing a chicken from a cannon to get the crash, they just don't care because the risk is so low.

    If, however, I can diplomatically point out that Canadian postal codes do not have five characters, then I will get more help doing my job. I'll file the triple lutz crash, of course, but I won't inflate the risk of it just because it was darn FUN to find.

    ReplyDelete

Post a Comment

Popular posts from this blog

Can Code, Can't Code, Is Useful

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-- "If testers can’t code, they’re of no use to us" My first reaction is to wonder what you expect from your testers. I am immediately interested in your working context and the way

Meet Me Halfway?

  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-- "Stop answering my questions with questions." Sure, I can do that. In return, please stop asking me questions so open to interpretation that any answer would be almost meaningless and certa

Not Strictly for the Birds

  One of my chores takes me outside early in the morning and, if I time it right, I get to hear a charming chorus of birdsong from the trees in the gardens down our road, a relaxing layered soundscape of tuneful calls, chatter, and chirrupping. Interestingly, although I can tell from the number and variety of trills that there must be a large number of birds around, they are tricky to spot. I have found that by staring loosely at something, such as the silhouette of a tree's crown against the slowly brightening sky, I see more birds out of the corner of my eye than if I scan to look for them. The reason seems to be that my peripheral vision picks up movement against the wider background that direct inspection can miss. An optometrist I am not, but I do find myself staring at data a great deal, seeking relationships, patterns, or gaps. I idly wondered whether, if I filled my visual field with data, I might be able to exploit my peripheral vision in that quest. I have a wide monito

Postman Curlections

My team has been building a new service over the last few months. Until recently all the data it needs has been ingested at startup and our focus has been on the logic that processes the data, architecture, and infrastructure. This week we introduced a couple of new endpoints that enable the creation (through an HTTP POST) and update (PUT) of the fundamental data type (we call it a definition ) that the service operates on. I picked up the task of smoke testing the first implementations. I started out by asking the system under test to show me what it can do by using Postman to submit requests and inspecting the results. It was the kinds of things you'd imagine, including: submit some definitions (of various structure, size, intent, name, identifiers, etc) resubmit the same definitions (identical, sharing keys, with variations, etc) retrieve the submitted definitions (using whatever endpoints exist to show some view of them) compare definitions I submitted fro

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

Vanilla Flavour Testing

I have been pairing with a new developer colleague recently. In our last session he asked me "is this normal testing?" saying that he'd never seen anything like it anywhere else that he'd worked. We finished the task we were on and then chatted about his question for a few minutes. This is a short summary of what I said. I would describe myself as context-driven . I don't take the same approach to testing every time, except in a meta way. I try to understand the important questions, who they are important to, and what the constraints on the work are. With that knowledge I look for productive, pragmatic, ways to explore whatever we're looking at to uncover valuable information or find a way to move on. I write test notes as I work in a format that I have found to be useful to me, colleagues, and stakeholders. For me, the notes should clearly state the mission and give a tl;dr summary of the findings and I like them to be public while I'm working not just w

Build Quality

  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-- "When the build is green, the product is of sufficient quality to release" An interesting take, and one I wouldn't agree with in general. That surprises you? Well, ho

Make, Fix, and Test

A few weeks ago, in A Good Tester is All Over the Place , Joep Schuurkes described a model of testing work based on three axes: do testing yourself or support testing by others be embedded in a team or be part of a separate team do your job or improve the system It resonated with me and the other testers I shared it with at work, and it resurfaced in my mind while I was reflecting on some of the tasks I've picked up recently and what they have involved, at least in the way I've chosen to address them. Here's three examples: Documentation Generation We have an internal tool that generates documentation in Confluence by extracting and combining images and text from a handful of sources. Although useful, it ran very slowly or not at all so one of the developers performed major surgery on it. Up to that point, I had never taken much interest in the tool and I could have safely ignored this piece of work too because it would have been tested by

The Best Laid Test Plans

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-- "What's the best format for a test plan?" I'll side-step the conversation about what a test plan is and just say that the format you should use is one that works for you, your coll

Test Now

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-- "When is the best time to test?" Twenty posts in , I hope you're not expecting an answer without nuance? You are? Well, I'll do my best. For me, the best time to test is when there