Skip to main content

Wrong in front of you.

In 2008 I attended GTAC in Seattle, a conference devoted to the use of automation in software testing. Since their first in London in 2006, Google have been running about one a year, in various locations around the world. This post isn't really about the conference, its about a realisation that I had the day after the conference.

After the conference I went sight-seeing in Seattle. I rode the short Simpsons-like Monorail and took a lift up the Jetsons-like space needle. I enjoyed my time there, and found the people very friendly. The conference had been very technology focused, many (but granted, not all) speakers focused on tools and how to use tools. While useful, the tools are only part of testing - and even then they typically just support testing rather than "do" testing.

The Seattle Monorail.


While I was at the top of the Space needle, I took out my phone and like a good tourist started taking pictures. I'd typically take a couple of pictures then look at them on the screen. While on the outer viewing area, I noticed a port with a few container ships approaching and departing the docks. I took a quick snap of the port area, hoping that the detail of picture would be visible. I checked the phone's screen, and was struck by something. Here is the picture:



What surprised me, were the wire barriers. I had not even noticed them before. They quite effectively ruin the shot. In my minds eye the scene I had been looking at resembled this:



This second picture, taken minutes later, after I had realised my mistake, was much closer to my uncritical impression of the view from the Space Needle. Our minds are very effective at filtering out unwanted or un-needed information. This is great and allows us to get on with many tasks that need our full attention. But this attention, can also show itself as mis-direction, we fail to see the [sometimes literal] barriers right in front of us. I believed I had an uninterrupted view of the docks below me, but I didn't.

This is where being critical of what is the apparently obvious, right in front of us, can help. Of course by critical I mean in the sense of critical thinking. By consciously stepping back, re-examining the evidence and asking questions that may seem silly to some, we can often highlight problems that were previously almost invisible. This is an area where tools are often very useful, by providing a quick way to capture, store and display evidence, such as pictures in our example above. But the overly-hopeful view of a world in which the machine is doing the critical thinking is still someway off, and attempts to achieve such a thing in software testing are often wasteful and become expensive to run white-elephants.

Comments

  1. Excellent article, great point. As always.

    I would probably have noticed the wires right away since I do a lot of photography and don't make this mistake any more. I'd probably think something like "Oh, autofocus will get confused by the wires, and I'll need to use a large aperture lens to make them less visible in the photo, etc")

    The interesting part here, IMO, is that you evaluated your result immediately after snapping it. This allowed you to compare your mental image of the result with the actual one: A quick iteration meant that you could fix the bug at virtually zero cost.

    And this is why digital cameras and even cell phones take better pictures than film cameras ever did: They allow for quick shoot, evaluate, reshoot iterations making great compositions in great lighting.

    Good software test tools can help make short iterations too, by the way.

    /Anders

    ReplyDelete

Post a Comment

Popular posts from this blog

Can Gen-AI understand Payments?

When it comes to rolling out updates to large complex banking systems, things can get messy quickly. Of course, the holy grail is to have each subsystem work well independently and to do some form of Pact or contract testing – reducing the complex and painful integration work. But nonetheless – at some point you are going to need to see if the dog and the pony can do their show together – and its generally better to do that in a way that doesn’t make millions of pounds of transactions fail – in a highly public manner, in production.  (This post is based on my recent lightning talk at  PyData London ) For the last few years, I’ve worked in the world of high value, real time and cross border payments, And one of the sticking points in bank [software] integration is message generation. A lot of time is spent dreaming up and creating those messages, then maintaining what you have just built. The world of payments runs on messages, these days they are often XML messages – and they ...

Text to SWIFT - making data from prose (What possible use could Gen AI be to me? - Part 2)

 As I write this, my dog is grumpily moving around the room pausing intermittently to give me disappointed looks - looks that only my elderly mother could compete with. She (my dog) is annoyed by the robot vacuum cleaner. Its not been run for a while in that room - and its making a noisy foray into dark corners in a valiant effort to cleanse the mess. Its grinding gears and the cloud of dust in its wake is not helping to ease the dogs nerves. The dog's pleading puppy dog eyes & emotions have of course been anthropomorphised - at least a bit - by me (My dog is 7 years old and weighs over 20kg - so has little to fear). That is - I've taken human feelings and mapped them onto my dog. I know she has emotions - but she lacks language - or at least a language that (1) we humans understand, (2) maps to the same phrases or concepts I'm using. But I'm human, That's how I think and how I interact with people and sometimes - machines. Deciphering the problem and representi...

Don't be a Vogon, make it easy to access your test data!

 The beginning of the hitch-hikers guide to the galaxy leads with an alien ship about to destroy the Earth, and the aliens saying we (mankind) should have been more prepared – as a notice had been on display quite clearly – on Alpha Centauri the nearby star system, for 50 years. Seriously, people - what are you moaning about – get with the program?  The book then continues with the theme of bureaucratic rigidity and shallow interpretations of limited data. E.g. The titular guide’s description of the entire Earth is one word: “Harmless”, but after extensive review the new edition will state: “Mostly harmless”. Arthur Dent argues with the Vogons about poor data access This rings true for many software testing work, especially those with externally developed software, be that external to the team or external to the company. The same approaches that teams use to develop their locally developed usually don’t work well. This leads to a large suite of shallow tests that are usually h...