|By Colin Armitage||
|November 18, 2009 02:45 PM EST||
For the past 15-plus years, organisations have turned to test automation as a way to improve efficiency in the Software Development Life Cycle. Yet despite heavy investment, software testing is still often the bottleneck in the delivery cycle. In a recent survey of CIOs, Original Software found that only 6% were totally happy with their automation. The scary thing is that this is tolerated - It’s the norm!
“Only in a world this shitty could you even try to say these were innocent people and keep a straight face. But that's the point. We see a deadly sin on every street corner, in every home, and we tolerate it. We tolerate it because it's common, it's trivial. We tolerate it morning, noon, and night. Well, not anymore. I'm setting the example.”
John Doe (Kevin Spacey) in Se7en
Undoubtedly Test Automation has failed to achieve for the masses. But why is this the case? In this article I take a light-hearted look at Dante’s Divine Comedy to uncover some home truths about software test automation…
The Italian poet Dante Alighieri (1265-1321), wrote three epic poems (known collectively as the Divine Comedy) titled Inferno, Purgatorio, and Paradiso. In his book Inferno, Dante recounts the visions he has in a dream in which he enters and descends into hell. The sinners that Dante encounters in the Inferno are each punished in accordance with which of the seven deadly sins they were most guilty of while they were alive.
Now, I can’t help but to liken this to our very own industry –
As Dante journeys through the Inferno he encounters sinners condemned to eternal damnation because of their actions or in some cases inaction while on earth.
As I myself journey from prospect to prospect I often encounter the ‘sinners’ of test automation, whose projects are condemned to eternal damnation because of their actions, or, in many cases, the inaction that we un-earth.
One can gain a deeper understanding of Dante’s Inferno by studying the seven deadly sins which brought these souls to this miserable place.
In this article I will explore each of the seven deadly sins as they relate to software test automation, instances we come across time and time again, and traps clients have often fallen into because of their earthly vices.
Welcome to the Seven Deadly Sins of Software Test Automation.
Pride / Vanity – Usually considered the worst of the sins, this is a feeling of superiority and an excessive belief in a person's own abilities; A desire to be more important or attractive to others, failing to give credit due to others, or excessive love of self. This sin often manifests itself in the wanton squandering of money and time on themselves without caring about others.
Picture the scene: The wool has been pulled over the eyes of Brimstone Business Application Co’s CIO. He did a deal with a big IT supplier to have their quality-centred products added to his order. At the time it seemed like a good idea – he saved the company money and had a nice round of golf rolled-in to boot. He’d fallen into the superiority trap of believing that the most expensive or most prevalent solution would always be the best, but now was beginning to realise that this particular technology was not actually compatible with his company’s needs. He’d brought this solution in, so his pride was unable to take failure. Instead he persevered until it was too late and placed unrealistic goals on his QA team, who were then forced to revert back to manual testing. As a result the project time-lines slipped, applications went out the door late and bug-ridden, which proved expensive in re-work costs and built up a huge stack of technical debt. His department was now damned to an eternity of fire-fighting the latest problems.
The punishment in Hell will be: to be broken on the wheel.
Avoidance strategy: bigger isn’t always better. Look around when evaluating new solutions.
Sloth – Spiritual or actual apathy or laziness; an undue slowness to act; Sloth can also concern wasting due to lack of use or allowing entropy, expanding into almost any person, thing or skill that would require maintenance, refinement and/or support to continue to exist.
Picture the scene: The IT Director of Hades Hire Company wanted an easy life. He shelled out for the best test automation solution money could buy (or so the sales exec said). Feeling pleased with himself he imagined pouring a large Louis XIV, lighting up a cigar, kicking back and watching as all of his testing nightmares melted away in a flash of computer wizardry and dreamy music…
Unfortunately this was far from the case. Two years and £1 million later, after a lengthy installation and script development programme his team were finally all set to start their first automation! The reality was that there was no computer wizardry, no dreamy music, nothing. It cost the company a small fortune, and needed continuous attention and constant looking after by a team of specialists to be effective. And even with all this TLC, it was still prone to sulk and become unproductive. Every time the application was updated, the specialists then had to re-visit the code and tweak and re-write parts of it so it would be able to continue showing off its silky skills. The upshot of this was that for those areas of the application that were changing frequently, the test automation became very difficult to maintain. Testers with the necessary scripting skills were also very expensive to employ and with staffing cutbacks and no-end of changes to the application, his QA department kept resorting back to manual testing in order to cope with the demand. In short, his £1m investment slowly fell into disuse and was doomed to take its place amongst the graveyard of dusty shelf-ware.
The punishment in Hell will be: to be thrown into snake pits.
Avoidance strategy: beware of smoke & mirrors when evaluating solutions. Make sure they are easy to maintain.
Lust – is an inordinate craving or animal desire for; A lascivious passion or desire for something often to the point of assuming a self-indulgent, and sometimes violent character; It relates to almost anything that you may have a strong desire or drive for, such as the lust of battle or lust for power; Lust prevents clarity of thought and rational behaviour.
Picture the scene: The QA team leader at Lucifer Banking Corp. is fed up with making constant requests to her database administrator for slices of data to run their tests on. It’s a huge bottleneck in the testing phase. She’s lusting after control. When the test database becomes corrupted, it can take up to 10 hours for them to roll back the changes and reset the environment. If only she was able to create her own test database with checkpoints she could revert back to time and time again, her life would be a hell of a lot easier. There’s a tight deadline on the latest software release and she knows that getting the DBA to reset her environment will hold the project up another 24hrs, so she decides to go ahead and test on (the corrupted) test database she has at hand. The regression test picks up a ton of defects that the test team go on to spend days investigating, only, far too late in the day, discovering that the errors were actually in the database and not the latest software build. Because they have wasted time chasing ghosts, real defects have managed to slip through the net in areas of the application they were unable to test. Because some exchange rate changes were not picked up, the application has had to be pulled and the team are destined to spend their weekend bug-fixing.
The punishment in Hell will be: to be smothered in fire and brimstone.
Avoidance strategy: test data management is the bedrock of successful automation.
Greed - the self-serving desire to acquire material wealth and possessions beyond the need of the individual, especially when this accumulation of possession denies others. It is often manifested in various forms such as miserliness and unethical business practices; Preoccupation with the acquisition and preservation of material things and possessions.
Picture the scene: The IT Manager at RiverStyx Retail had heard about a great job opening. He coveted the idea of the increased seniority, power and responsibility it would give him, and it was paying a lot more money too. There was just one hitch. He needed to prove success with some short, quick wins. Unconcerned about corporate risk or the technical debt he would be leaving behind, he took numerous shortcuts in order to release more applications in a shorter time-frame, hoping to be an immediate hero and not be around by the time the repercussions were realised. He took that gamble but missed out on the new role. Of course, just like in every moral tale, his shortcuts came back to haunt him. He’d bypassed the database testing on their ecommerce application and the value field for the televisions that would normally retail for £1000 had been input at just £1. Unfortunately, because there was no defect reporting system in place, consumer word of mouth acted much faster than the bug-fix, and, by the time the error was resolved, RiverStyx had sold their entire stock. Five thousand televisions at a loss of £999 made a significant dent in the company’s fortunes and in the ensuing witch hunt that followed, his bad practices and lack of planning and strategy were exposed, warts and all, under stadium-strength floodlights. Needless to say, he lost his job and without a reference was condemned to join the ranks of the dole queue rather than the lofty heights of the elite that he had envisaged!
The punishment in Hell will be: to be boiled alive in oil.
Avoidance strategy: Make solid test plans and stick to them. Shortcuts will always come back to bite you.
Wrath: intense, fierce anger, rage or fury, usually on an epic scale and often leading to violence. Any action carried out in great anger, esp. for punishment or vengeance.
Picture the scene: You’ve fought for the budget, parted with the money, spent two years implementing your whizzy new test automation solution and now you find that rather than freeing up resource and providing a rapid ROI, you actually need more staff to maintain all the script changes. It’s enough to make your blood boil! Well, that’s the situation the IT Director of 666 Solutions found himself in. His ensuing hissy fit and bad temper made his capable team hand in their notices, doubling his pain and guaranteeing him a stomach ulcer to-boot.
The punishment in Hell will be: to be dismembered alive.
Avoidance strategy: Know what you are buying into and do a thorough proof-of-concept.
Gluttony - Derived from the Latin gluttire, meaning to gulp down or swallow. Gluttony is the over-indulgence and over-consumption of anything to the point of waste; Often manifests itself as obesity, substance abuse or binge drinking.
Picture the scene: Armageddon Autos had a small QA team of just two testers. To be honest they could have done with another couple of people in the team because the workload had increased significantly in the preceding few months. The senior tester was a bit of a script-monster, he loved nothing more than building scripts for their automated testing solution. In fact, he loved scripting so much, he did very little else. 8 hours a day, 5 days a week…gotta build those scripts, gotta build those scripts. Love those scripts! When an application changed and needed re-testing he was there changing the scripts he’d just spent weeks building. Gotta change those scripts, gotta change those scripts. He loved scripting so much he actually never got any proper testing done. Time and time again, testing held up application delivery, projects were always late, and always went over budget. The problem was, he didn’t seem to mind, he was happy with his scripting solution. “It will automate everything - just as soon as I finish these scripts” he kept saying, but the application was always changing faster than he could keep up. Maybe the QA team didn’t need that extra person after all, maybe they just needed their senior tester to get on and test rather than spend every waking minute writing those scripts. Maybe they didn’t have the ideal set up, but he loved that scripting solution because of his familiarly with it and because it gave him a purpose in life – to build scripts. The QA team was fated to continue going round in circles, being the slow cog holding up the rest of the machinery.
The punishment in Hell will be: to be force-fed rats, toads, and snakes.
Avoidance strategy: Remember what you are trying to achieve. Don’t get hung up on the mechanics.
Envy – This is the desire to possess what others have; Grieving spite and resentment of material objects or accomplishments of others; Those who commit the sin of envy resent that another person has something they perceive themselves as lacking, and wish the other person to be deprived of it; Jealousy; Covetousness.
Picture the scene: It’s Friday evening and after a devilishly long day trying to co-ordinate user-acceptance testing, Azazel Application’s Business Analyst is relaxing in the pub, nursing a pint of Hellhound Hops ale and venting his frustration to his close friend, the QA Manager of Dungeon Doughnuts. His problem you see, was that when IT chose to purchase their ALM solution, they didn’t engage him or consider the business needs of the solution. It was purchased purely for the needs of development and testing, nobody considered the bigger picture. Nobody thought about aligning IT with business requirements or how they would be able to conduct user acceptance testing when the selected solution required technical know-how and the ability to read code. As a result, his role has become little more than a glorified call centre operative, going back and forward between IT and the users, trying to work out how they came about particular defects and keep the project on track. His friend tells him about the new solution they’ve just deployed at Dungeon Doughnuts, with a point and click interface, recording activity behind the scenes, with the ability to mark up defects for users to email straight to development. It is obviously brilliant and exactly what he would have liked to have seen implemented at Azazel Applications, but his friend is so smug about it, while he’s at the bar getting the next round in, he childishly flicks fag ash in his beer. His jealousy will eat him alive.
The punishment in Hell will be: to be submerged in freezing water.
Avoidance strategy: Consider your IT / Business alignment and make sure all requirements are in place from the offset.
So, revisiting the opening quote from Kevin Spacey, let’s shake off this apathy and stop tolerating these deadly sins just because they are commonplace. If you want to wear the halo of professionalism and not get burnt by bad practice, take a long hard look inside yourselves at what you are doing and why you are doing it. Don’t get caught out by letting arrogance, inertia, desire, materialism, self indulgence, resentment or temper get the better of your business decision making.
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In this session, James Kirkland, Red Hat's Chief Architect for the Internet of Things and Intelligent Systems, will describe how to revolutionize your architecture and...
May. 29, 2015 02:33 PM EDT Reads: 431
The Internet of Things is tied together with a thin strand that is known as time. Coincidentally, at the core of nearly all data analytics is a timestamp. When working with time series data there are a few core principles that everyone should consider, especially across datasets where time is the common boundary. In his session at Internet of @ThingsExpo, Jim Scott, Director of Enterprise Strategy & Architecture at MapR Technologies, discussed single-value, geo-spatial, and log time series data. By focusing on enterprise applications and the data center, he will use OpenTSDB as an example t...
May. 29, 2015 02:00 PM EDT Reads: 6,860
We’re entering a new era of computing technology that many are calling the Internet of Things (IoT). Machine to machine, machine to infrastructure, machine to environment, the Internet of Everything, the Internet of Intelligent Things, intelligent systems – call it what you want, but it’s happening, and its potential is huge. IoT is comprised of smart machines interacting and communicating with other machines, objects, environments and infrastructures. As a result, huge volumes of data are being generated, and that data is being processed into useful actions that can “command and control” thi...
May. 29, 2015 02:00 PM EDT Reads: 1,201
All major researchers estimate there will be tens of billions devices - computers, smartphones, tablets, and sensors - connected to the Internet by 2020. This number will continue to grow at a rapid pace for the next several decades. With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo, June 9-11, 2015, at the Javits Center in New York City. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be
May. 29, 2015 01:15 PM EDT Reads: 3,061
We are reaching the end of the beginning with WebRTC, and real systems using this technology have begun to appear. One challenge that faces every WebRTC deployment (in some form or another) is identity management. For example, if you have an existing service – possibly built on a variety of different PaaS/SaaS offerings – and you want to add real-time communications you are faced with a challenge relating to user management, authentication, authorization, and validation. Service providers will want to use their existing identities, but these will have credentials already that are (hopefully) i...
May. 29, 2015 01:00 PM EDT Reads: 4,764
SYS-CON Events announced today that MetraTech, now part of Ericsson, has been named “Silver Sponsor” of SYS-CON's 16th International Cloud Expo®, which will take place on June 9–11, 2015, at the Javits Center in New York, NY. Ericsson is the driving force behind the Networked Society- a world leader in communications infrastructure, software and services. Some 40% of the world’s mobile traffic runs through networks Ericsson has supplied, serving more than 2.5 billion subscribers.
May. 29, 2015 01:00 PM EDT Reads: 2,460
Scott Jenson leads a project called The Physical Web within the Chrome team at Google. Project members are working to take the scalability and openness of the web and use it to talk to the exponentially exploding range of smart devices. Nearly every company today working on the IoT comes up with the same basic solution: use my server and you'll be fine. But if we really believe there will be trillions of these devices, that just can't scale. We need a system that is open a scalable and by using the URL as a basic building block, we open this up and get the same resilience that the web enjoys.
May. 29, 2015 01:00 PM EDT Reads: 7,510
Thanks to widespread Internet adoption and more than 10 billion connected devices around the world, companies became more excited than ever about the Internet of Things in 2014. Add in the hype around Google Glass and the Nest Thermostat, and nearly every business, including those from traditionally low-tech industries, wanted in. But despite the buzz, some very real business questions emerged – mainly, not if a device can be connected, or even when, but why? Why does connecting to the cloud create greater value for the user? Why do connected features improve the overall experience? And why do...
May. 29, 2015 12:42 PM EDT Reads: 695
SYS-CON Events announced today that O'Reilly Media has been named “Media Sponsor” of SYS-CON's 16th International Cloud Expo®, which will take place on June 9–11, 2015, at the Javits Center in New York City, NY. O'Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O'Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying "faint signals" from the alpha geeks who are creating the future. An active participa...
May. 29, 2015 12:30 PM EDT Reads: 1,320
SYS-CON Events announced today that BMC will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. BMC delivers software solutions that help IT transform digital enterprises for the ultimate competitive business advantage. BMC has worked with thousands of leading companies to create and deliver powerful IT management services. From mainframe to cloud to mobile, BMC pairs high-speed digital innovation with robust IT industrialization – allowing customers to provide amazing user experiences with optimized IT per...
May. 29, 2015 12:15 PM EDT Reads: 1,628
Imagine a world where targeting, attribution, and analytics are just as intrinsic to the physical world as they currently are to display advertising. Advances in technologies and changes in consumer behavior have opened the door to a whole new category of personalized marketing experience based on direct interactions with products. The products themselves now have a voice. What will they say? Who will control it? And what does it take for brands to win in this new world? In his session at @ThingsExpo, Zack Bennett, Vice President of Customer Success at EVRYTHNG, will answer these questions a...
May. 29, 2015 12:13 PM EDT Reads: 678
The 4th International Internet of @ThingsExpo, co-located with the 17th International Cloud Expo - to be held November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA - announces that its Call for Papers is open. The Internet of Things (IoT) is the biggest idea since the creation of the Worldwide Web more than 20 years ago.
May. 29, 2015 12:00 PM EDT Reads: 2,675
The Internet of Things is a misnomer. That implies that everything is on the Internet, and that simply should not be - especially for things that are blurring the line between medical devices that stimulate like a pacemaker and quantified self-sensors like a pedometer or pulse tracker. The mesh of things that we manage must be segmented into zones of trust for sensing data, transmitting data, receiving command and control administrative changes, and peer-to-peer mesh messaging. In his session at @ThingsExpo, Ryan Bagnulo, Solution Architect / Software Engineer at SOA Software, focused on desi...
May. 29, 2015 11:00 AM EDT Reads: 4,466
An entirely new security model is needed for the Internet of Things, or is it? Can we save some old and tested controls for this new and different environment? In his session at @ThingsExpo, New York's at the Javits Center, Davi Ottenheimer, EMC Senior Director of Trust, reviewed hands-on lessons with IoT devices and reveal a new risk balance you might not expect. Davi Ottenheimer, EMC Senior Director of Trust, has more than nineteen years' experience managing global security operations and assessments, including a decade of leading incident response and digital forensics. He is co-author of t...
May. 29, 2015 11:00 AM EDT Reads: 6,159
The multi-trillion economic opportunity around the "Internet of Things" (IoT) is emerging as the hottest topic for investors in 2015. As we connect the physical world with information technology, data from actions, processes and the environment can increase sales, improve efficiencies, automate daily activities and minimize risk. In his session at @ThingsExpo, Ed Maguire, Senior Analyst at CLSA Americas, will describe what is new and different about IoT, explore financial, technological and real-world impact across consumer and business use cases. Why now? Significant corporate and venture...
May. 29, 2015 10:50 AM EDT Reads: 749
Today’s enterprise is being driven by disruptive competitive and human capital requirements to provide enterprise application access through not only desktops, but also mobile devices. To retrofit existing programs across all these devices using traditional programming methods is very costly and time consuming – often prohibitively so. In his session at @ThingsExpo, Jesse Shiah, CEO, President, and Co-Founder of AgilePoint Inc., discussed how you can create applications that run on all mobile devices as well as laptops and desktops using a visual drag-and-drop application – and eForms-buildi...
May. 29, 2015 10:00 AM EDT Reads: 5,856
While great strides have been made relative to the video aspects of remote collaboration, audio technology has basically stagnated. Typically all audio is mixed to a single monaural stream and emanates from a single point, such as a speakerphone or a speaker associated with a video monitor. This leads to confusion and lack of understanding among participants especially regarding who is actually speaking. Spatial teleconferencing introduces the concept of acoustic spatial separation between conference participants in three dimensional space. This has been shown to significantly improve comprehe...
May. 29, 2015 10:00 AM EDT Reads: 3,689
There will be 150 billion connected devices by 2020. New digital businesses have already disrupted value chains across every industry. APIs are at the center of the digital business. You need to understand what assets you have that can be exposed digitally, what their digital value chain is, and how to create an effective business model around that value chain to compete in this economy. No enterprise can be complacent and not engage in the digital economy. Learn how to be the disruptor and not the disruptee.
May. 29, 2015 09:45 AM EDT Reads: 1,109
The enterprise market will drive IoT device adoption over the next five years. In his session at @ThingsExpo, John Greenough, an analyst at BI Intelligence, division of Business Insider, will analyze how companies will adopt IoT products and the associated cost of adopting those products. John Greenough is the lead analyst covering the Internet of Things for BI Intelligence- Business Insider’s paid research service. Numerous IoT companies have cited his analysis of the IoT. Prior to joining BI Intelligence, he worked analyzing bank technology for Corporate Insight and The Clearing House Pay...
May. 29, 2015 09:36 AM EDT Reads: 689
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo in Silicon Valley. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place Nov 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 17th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal an...
May. 29, 2015 09:00 AM EDT Reads: 3,258