Archive for the Everything Category

Jonathan Kohl beat me to the punch on this blog entry by a good margin, but since I was already working on this thing, I’d like to go ahead and basically say exactly what he said in probably a far less cogent fashion.  A lot has been written about the good and bad things about Exploratory testing and the writing and (mis)usage of test cases.

I don’t see a lot written about harmonious use of both. I’m sure people do it. I know I do. Is it like airing dirty laundry? Do context driven testers not want to admit to using test cases in case James Bach reads their blog and decides to tear them a new one? Do factory testers (sorry – what do you BDUF testers call yourselves anyway? Factory tester brings to mind a grey-clad downtrodden peon, which I suppose is appropriate, but not very flattering) – anyway, do you lot not want to admit to doing exploratory testing in case your overseers beat your for not following the script? Am I missing something? Is this just not a big deal?

Johnathan advocates using a blend of both and uses the terms prescriptive and descriptive testing, which quite appeals to me. Michael Bolton’s recent highlighting of the difference between testing and checking as something we should be more conscious of helped me to frame this better in my mind.

There are things that you can plan ahead for. There are risks you can identify and tests that you can design to mitigate against them. I see no reason why you shouldn’t use test cases for these if that is what you are comfortable with.

One of the issues I have with test cases is that some people see them as a magic artefact that covers all possible problems in a given area, because one or more tests have been written that mention it.  They fail to see that many test cases are highly focused on verifying a very specific item somewhere, and just because we go through a bunch of steps to get there does not mean that those steps have also been verified.

This leads me to wonder if I have been thinking about scripts all wrong.

I recently read Michael Hunter’s work on setting up test frameworks. One of the things that was a lightbulb for me was separating the verification from the action. Very very obvious in hindsight, but if you think about it – this is basically a use case and a checklist.

We have a series of steps from point A to point B

We have a list of things that we want to make sure are as we expect them.  Why do we need to mash them together? Why do we need to repeat the list of steps over and over and over so that we can list a different verification point next to it?

An argument I hear for test cases is that if you write them well enough, then anyone can execute them. I really hate the way that thinking goes, mostly because I read it as ‘anyone can do testing, you just follow the scripts’. That being said, a clear set of instructions and a checklist could mean that you could get a non-tester to do checking, even of mission-critical information. That, I might hold with.

Checklists and Check scripts? I think this is something worth exploring further.

Part of the work I’m doing just now is helping developers to increase their testing skills to handle the bandwidth that my team can’t. I asked Yuka Horino, one of my colleagues to translate James Bach’s Heuristics of Software Testability into Japanese as one of the things to distribute to our dev group. (Thanks Horino-san!)

This sort of thing is probably useful to a wider group than just the people I work with, so here it is. Enjoy.

Heuristics of Software Testability (Japanese)

Jonathan Kohl is at least partially to blame for a new tool to assist testers doing session-based testing called (creatively enough) Session Tester. It’s been in the pipes for a while now and is finally seeing the light of day. It’s still in beta, but looking very promising. They’re also taking change request suggestions, so if you’re doing SBT and want a tool that suits your needs – go take a test drive and make suggestions.

James Bach recently wrote a post entitled Quality is Dead.

It brought to mind this particular gem

I’ll let you decide which software development role is analogous to the players in the sketch.

Testing isn’t dead yet, but it’s generally not being done any favours by anyone around it. The reasons are legion and of course they’re different from project to project. Fundamentally though I think it comes down to human beings with differing and often conflicting priorities.

I work in Japan where the customer is God and quality is paramount. In terms of software development however, some of the work practises I have seen here were old before Tokugawa Ieyasu came to power (and they haven’t aged well). I know where I would like to take quality focus, but the people who generally have the power to make it happen tend not to bother talking to grunts like me.

The brass jump up and down about quality for a while when customers or shareholders squeeze their balls about something going wrong. Said ball-squeezing is transferred down the management food chain until it gets to the QA division at which point one tends to hear about how we need to make things work better.

Of course, when you attempt to actually make changes for the better, you run into the aforementioned problem of human beings with conflicting priorities and you have zero power to change it.

What I would very much like to see happen is a bunch of people who have at one time or another been very skilled software testers assume CIO/CEO roles of large companies, understand what quality means to the people spending money on their product (and to the people not spending money on their product who may otherwise become customers) and make that priority one.

If that means the stock price suffers a little while you spend the necessary money, so be it. Until you get someone in a position with enough power to actually make focus on improving quality a must, then what you will inevitably end up with is a growing number of skilled testers who find themselves out of work when either a) their company outsources their job to a cheaper, less skilled option, or b) when they take an ethical stand and find themselves replaced by someone who is happy to take their place on a production line turning out broken toys.

I was wondering whether or not I would make it to CAST this year. After having such a fantastic time last year, I really wanted to attend this one also. This year though, my other passion will be taking precedence. I am going to Brazil at the end of August to attend the world kendo championships.

For you software testers who are going to be in the States (or close by) mid-July – check out details of the CAST conference. It’s in Colorado this year. Well worth attending. For anyone that’s going to be in Sao Paulo at the end of August, buy an Australian flag and come support the Aussie kendo team :)

Some of you that frequent this place might remember that I did a series of loosely-related posts on Tester Advocacy last year. I decided I was going to come up with a tester’s code of conduct by which a tester might conduct oneself.

Part 1
Part 2
Part 3

A change of job, a change of country – a change of many things actually, has given me pause to think about this once again. I think I’ve come up with a list that works.

Rule (of thumb) #1

Be useful.

That’s it. That’s my list. That’s my tester’s code of conduct. At all times do your level best to be useful.

How? Who to? What do you mean by useful?

I mean make it your mission to be as useful to the people you report to (the people who matter) as you possibly can. What can you do right now to be the most effective you can be in the way that your handler(s) need you to be?

Sometimes that is going to be doing what they ask you to do (even if you don’t like it). Sometimes it’s going to be doing something other than what they’ve asked because you are 100% certain that what you are doing is more useful to them. Sometimes it’s test execution, sometimes it’s teaching, sometimes (often, I hope) learning, sometimes it’s doing boring paperwork.

Be useful.

As a software tester, what is the most useful thing you can be doing right now? At the end of the day, I want to know that the actions I took have contributed to improving the quality of the product I worked on, or the company I work for. I want to know that I have improved the effectiveness of the people who work for me, or that other areas of the company received something of value from the testing team.

Be resourceful, be enthusiastic (or not), be proactive, be whatever you want as long as it’s also being useful. Note – being useful might not be appreciated. It might get you fired. Refusing to do something can sometimes be the most useful thing you can do. It might not be the wisest career-move (at least within the current company). If you can’t be useful, then maybe you need to be somewhere else.

Edit: Also – Happy new year, everybody. :)

For those of you (us) whose Japanese reading skills aren’t comprehensive, you might find some valuable assistance with a firefox plugin called pera-pera kun. It is an extension of the also excellent rikai-chan.

It allows you to hover over Japanese words and phrase fragments and get a popup with dictionary / grammatical meanings. I couldn’t do without it.

You can find the plug-in here
and the required Japanese dictionary here

I believe there is also a Chinese dictionary out there, don’t think they do hangul (sorry Jared :)   )

For those that are studying Japanese (or anything where flashcards are useful, really), check out Anki.
I am creating my own study deck, but if you want to dive right in, there are a bunch of pre-made decks available and plugins if you like that sort of thing.

I wish I’d found both of these years ago. Seriously. Hopefully they’re handy for some of you.

Clearly I’ve had it far too easy for the past 10 years. Working for internet-based companies with unfettered access to install whatever I like on my machine, all the internets I could eat, complete control over my testing environment(s).

I have a question for all of you who have in the past experienced complete machine lockdown in your role as a tester (or developer or similar). Imagine the following completely hypothetical situation:

You need to install stuff on your local box, but can’t because you don’t have privileges. Getting stuff installed on your box requires going through a cubic buttload of bureaucracy and can literally take 3 weeks. No (instant or semi-instant) comms with the outside world, disabled USB ports, the works. Does this hypothetical situation sound familiar to anyone?

Does one

a) Politely request that ones machine (and the machines of one’s team mates) be unshackled and cite decreased productivity as a reason (and possibly offer to instead abide by a set of guidelines that are reasonable)?
b) Rant against the concept of treating intelligent adults like naughty children or criminals?
c) Say nothing, but add a couple of weeks per app one may need to install to project test estimation?
d) None of the above, but something awesome that I have neglected to mention here?

Teh Google shows a lot of hits for people who are in favour of lockdown. Guess it’s okay when you’re on the other side of the fence. I found a few articles that were in favour of trusting users – I enjoyed reading through the comments here. I think it comes down to finding (begging for?) balance. I know not every user out there is savvy enough to stay safe on the internets, but there are plenty that are. Why should they suffer?

I’m interested to hear how people have handled this situation and what the results were.

It’s funny how one word can have multiple meanings. I’ve been thinking about this a lot lately in relation to learning Japanese, and especially Japanese grammar where identical grammatical structures can have quite different meanings depending on context.

There’s also an English word that’s been bugging me a bit lately. The word ‘just’ can be an awesome word. It can mean ‘fair and honourable’, or ‘precise or exact’, but I’m not so much of a fan when it is used in the following sentence fragment – ‘You’re just a tester…’

It often is accompanied by phrases or questions like ‘you wouldn’t understand’, ‘you don’t need to worry about that’, ‘what are you asking about that for?’, ‘you don’t need access to that’ or ‘what do you mean you should be paid as much as a developer?’

As grating as the assumption that you’re not techie enough, or that anyone can do your job (or similar ignorance) may be, my advice is to not take it personally.

I could choose to feel insulted, but I don’t. It generally means to me that I have to help educate someone. I’ve heard it from developers, project managers, salespeople, executives, all sorts of people who think they have a handle on what it takes to be a tester. It may be that their previous experience has been a negative one with low-skilled testers. Maybe they have no experience with testers at all and are going on assumptions and second or even third-hand information. Whatever the reason, it is clear that their understanding of software testing is framed differently to mine.

Sometimes, a short conversation on what our differences in understanding are is all it takes, but if someone has the idea firmly in their head that testers are (just) monkeys that click on stuff toward the end of a project, you’re probably going to have to be a little more hands-on in demonstrating your value.

Find out what they think your limitations are, then find a way to add value that goes above and beyond what they’re expecting. At the start of a project, analyse the design and put together a risk analysis (along with what can be done – not just testing – to mitigate them). Are there unit tests or other automated tests you can review (and possibly improve)? Have developers put their money where their mouth is with Mike Kelly’s 5 bugs in 5 minutes challenge (PDF link – see page 5).

You might demonstrate the value of exploratory testing by conducting a paired testing session with them. What you do will of course depend on your own situation. Be proactive about it though. You can point them at blog posts and pdf links all you like, but until you actually demonstrate to them the value of a tester in a way that they’re going to notice or care about, you’re just going to have to deal with being thought of as ‘just a tester’. You might not have created the situation, but if there are people (who matter) whose point of view needs adjustment then the onus is on you.

and shall be for the forseeable future.

I’m working with an insurance group, putting together a new software testing team. Can’t really say too much more than that. There’s a lot to do, but I have good people with me and I’m up for the challenge. I’m also a lot closer to the bottom of the kendo food chain than I’ve been in a long while – I’m enjoying that too.

That’s not to say it’s all beer and skittles. The Japanese language is kicking my arse at the moment. When I speak, I get the sorts of look people reserve for a particularly slow child. That’s okay. I’m weathering this punishment much like a caged animal endures a beating, knowing full well that one day the lock will fail, or someone will get careless and then I shall make the Japanese language my whimpering bitch. Oh my, yes.

I may even torture you all with attempts at translating local testing literature. I will probably learn Japanese testing terminology. You will probably just learn to hate me. More. That’s okay, you can tell me all about it at the next conference I get to. Buggered if I know when that will be, though. I’m hoping CAST later in 09, but travel is all a bit up in the air at the moment. Should have a better idea toward the end of Feb.

In the meantime, the intermittent drivel and Vogon poetry shall continue forthwith. Enjoy.