Skip to main content

Tools

Do you ever examine what you carry around with you every day, and wonder if you actually use it? For example, in my pockets I've got a 'smart' phone, wallet (credit & debit cards, cash and ID), keys, Travelcard (Oyster) and some coins. Every now and then something gets added, if its unlucky it stays. Over the years, I've noticed, that the criteria for being kept is usually convenience or enablement. That is, the items that don't get chucked or deposited somewhere about my home are usually 'tools' that make other 'things' easier like a smart-phone - I can just look up something or text someone at any time. I could just wait until I got back to my office, or see the person later but it can be easier to just act in the moment, and do it there and then.

Enablement items, are things that mean I -can- do things, that without, I'm stuck. For example: door keys. The smart phone fits into this category also, if I want to meet up with someone at short notice when I'm out, then a mobile phone is really the only practical option. Cash is another enablement device. In the same theme, I wear a watch. It enabled me to know the time, with the added convenience of a date function. The watch allows me to be less tardy, as it's a much better timekeeper than my brain.

The great inventions of our and recent times have tended to be enablement devices also. Aviation, antibiotics, motor car, personal computers, MRI, the Internet/telecommunications etc are all enablers. We can do things our ancestors couldn't, and we can do them affordably. These are all tools. They extend our reach and our capabilities.

We use tools everyday in software development. Some, like the things in my pockets, are junk, and I soon ditch them. Some I keep and reuse. But in the long run, it's the convenience and enabling tools that stick. It often seems to take me (at least) a while to notice which tools are helping, which are not helping or even hindering. Part of the problem is that some tools look like they work or at least -should- help but don't. But still I've noticed some tools or groups of tools that usually help, and in one form or another these have survived.

These include the following:

Randomness: - I have several scripts and tools that help me produce randomness in either text, numerical or event form. For example I have a script that produces a random series of UTF-8 codes, another that randomly clicks on parts of the user's graphical interface. This is an enabler. I noticed that I am not random, even when I think I am being random - I'm not. So these tools fill that gap and let me see what normally I couldn't: how a piece of software behaves with a variety of inputs [that are more diverse than I can dream up at the time]

Accurate - Record keeping: I use Blueberry TestAssistant to record everything I do on Windows. This screen recorder records the screen as well as logging all key presses. This enables me to keep accurate records of my work and findings, without much effort. This frees me to spend more time finding new issues, rather than being bogged down in manual note keeping. It also allows me to go back in time and search for issues I might have missed first time around.

Comments

Popular posts from this blog

The gamification of Software Testing

A while back, I sat in on a planning meeting. Many planning meetings slide awkwardly into a sort of ad-hoc technical analysis discussion, and this was no exception. With a little prompting, the team started to draw up what they wanted to build on a whiteboard.

The picture spoke its thousand words, and I could feel that the team now understood what needed to be done. The right questions were being asked, and initial development guesstimates were approaching common sense levels.

The discussion came around to testing, skipping over how they might test the feature, the team focused immediately on how long testing would take.

When probed as to how the testing would be performed? How we might find out what the team did wrong? Confused faces stared back at me. During our ensuing chat, I realised that they had been using BDD scenarios [only] as a metric of what testing needs to be done and when they are ready to ship. (Now I knew why I was hired to help)



There is nothing wrong with checking t…

A h̶i̶t̶c̶h̶h̶i̶k̶e̶r̶'s̶ software tester's guide to randomised testing - Part 1

Mostly Harmless, I've talked and written about randomisation as a technique in software testing several times over the last few years. It's great to see people's eyes light up when they grok the concept and its potential. 
The idea that they can create random test data on the fly and pour this into the app step back and see what happens is exciting to people looking to find new blockers on their apps path to reliability.
But it's not long before a cloud appears in their sunny demeanour and they start to conceive of the possible pitfalls. Here are a few tips on how to avert the common apparent blockers. (Part 1) Problem: I've created loads of random numbers as input data, but how will I know the answer the software returns, is correct? - Do I have to re-implement the whole app logic in my test code?
Do you remember going to the fun-fair as a kid? Or maybe you recall taking your kids now as an adult? If so then you no doubt are familiar with the height restriction -…

How did you find that bug? Are we sitting comfortably, then I'll begin.

How did you find that bug? - They asked with a sort of puzzled "he dun't thunk like uz" look on their faces. An expression that suggested they were unsure whether to commend the discovery or gather their pitchforks and organise a well overdue witch burning.

Likewise, I now knew why they needed me. The team members were genuinely hard working people trying to build something new and exciting. But they lacked one thing, someone exploring & asking questions - trying to find out new things about their application. Exploring is literally a step into the unknown, and that can be uncomfortable for those not experienced in how to do it well.
So how did I find that bug? It's easy to tell a story of how I tried that particular input value because... Paragraph 3 of v4.6 of the requirements document stated that the user shall indeed on occasion X given input Y in Chrome v62 do... Or spout some other overly verbose explanation of why that broken 'scenario' came to be…