Rapid innovation and the digitalization of everything is increasing application complexity and the complexity of environments in which applications run. While theres an increasing emphasis on continuous testing as more DevOps teams embrace CI/CD, some organizations are still disproportionately focused on functional testing.
Just because it works doesnt mean its a good experience, said Thomas Murphy, senior director analyst at Gartner. If its my employee, sometimes I make them suffer but that means Im going to lose productivity and it may impact employee retention. If its my customers, I can lose retention because I did not meet the objectives in the first place.
Todays applications should help facilitate the organizations business goals while providing the kind of experience end users expect. To accomplish that, software teams must take a more holistic approach to testing than they have done traditionally, which involves more types of tests and more roles involved in testing.
The patterns of practice come from architecture and the whole idea of designing patterns, said Murphy. The best practices 10 years ago are not best practices today and the best practices three years ago are probably not the best practices today. The leading practices are the things Google, Facebook and Netflix were doing three to five years ago.
Chris Lewis, engineering director at technology consulting firm DMW Group, said his enterprise clients are seeing the positive impact a test-first mindset has had over the past couple of years.
The things Ive seen [are] particularly in the security and infrastructure world where historically testing hasnt been something thats been on the agenda. Those people tend to come from more traditional, typically full-stack software development backgrounds and theyre now wanting more control of the development processes end to end, said Lewis. They started to inject testing thinking across the life cycle.
Nancy Kastl, executive director of testing services at digital transformation agency SPR, said a philosophical evolution is occurring regarding what to test, when to test and who does the testing.
Regarding what to test, the movement continues away from both manual [and] automated UI testing methods and toward API and unit-level testing. This allows testing to be done sooner, more efficiently and fosters better test coverage, said Kastl.
When means testing earlier and throughout the SDLC.
Companies are continuing to adopt Agile or improve the way they are using Agile to achieve its benefits of continuous delivery, said Kastl. With the current movement to continuous integration and delivery, the shift-left philosophy is now embedded in continuous testing.
However, when everyones responsible for testing, arguably nobodys responsible, unless its clear how testing should be done by whom, when, and how. Testing can no longer be the sole domain of testers and QA engineers because finding and fixing bugs late in the SDLC is inadequate, unnecessarily costly and untenable as application teams continue to shrink their delivery cycles. As a result, testing must necessarily shift left to developers and right to production, involving more roles.
This continues to be a matter of debate. Is it the developers, testers, business analysts, product owners, business users, project managers [or] someone else? said Kastl. With an emphasis on test automation requiring coding skills, some argue for developers to do the testing beyond just unit tests.
Meanwhile, the scope of tests continues to expand beyond unit, integration, system and user acceptance testing (UAT) to include security, performance, UX, smoke, and regression testing. Feature flags, progressive software delivery, chaos engineering and test-driven development are also considered part of the testing mix today.
Security goes beyond penetration testingOrganizations irrespective of industry are prioritizing security testing to minimize vulnerabilities and manage threats more effectively.
Threat modeling would be a starting point. The other thing is that AI and machine learning are giving me more informed views of both code and code quality, said Gartners Murphy. There are so many different kinds of attacks that occur and sometimes we think weve taken these precautions but the problem is that while you were able to stop [an attack] one way, theyre going to find different ways to launch it, different ways its going to behave, different ways that it will be hidden so you dont detect it.
In addition to penetration testing, organizations may use a combination of tools and services that can vary based on the application. Some of the more common ones are static and dynamic application security testing, mobile application security testing, database security testing, software composition analysis and appsec testing as a service.
DMW Groups Lewis said his organization helps clients improve the way they define their compliance and security rules as code, typically working with people in conventional security architecture and compliance functions.
We get them to think about what the outcomes are that they really want to achieve and then provide them with expertise to actually turn those into code, said Lewis.
SPRs Kastl said continuous delivery requires continuous security verification to provide early insight into potential security vulnerabilities.
Security, like quality, is hard to build in at the end of a software project and should be prioritized through the project life cycle, said Kastl. The Application Security Verification Standard (ASVS) is a framework of security requirements and controls that define a secure application with developing and testing modern applications.
Kastl said that includes:
The OWASP Top 10 is a list of the most common security vulnerabilities, said Kastl. Its based on data gathered from hundreds of organizations and over 100,000 real world applications and APIs.
Performance testing beyond load testingLoad testing ensures that the application continues to operate as intended as the workload increases with emphasis on the upper limit. By comparison, scalability testing considers both minimum and maximum loads. In addition, its wise to test outside of normal workloads (stress testing), to see how the application performs when workloads suddenly spike (spike testing) and how well a normal workload endures over time (endurance testing).
Performance really impacts people from a usability perspective. It used to be if your page didnt load within this amount of time, theyd click away and then it wasnt just about the page, it was about the performance of specific elements that could be mapped to shopping cart behavior, said Gartners Murphy.
For example, GPS navigation and wearable technology company Garmin suffered a multi-day outage when it was hit by a ransomware attack in July 2020. Its devices were unable to upload activity to Stravas mobile app and website for runners and cyclists. The situation underscores the fact that cybersecurity breaches can have downstream effects.
I think Strava had a 40% drop in data uploads. Pretty soon, all this data in the last three or four days is going to start uploading to them so theyre going to get hit with a spike of data, so those types of things can happen, said Murphy.
To prepare for that sort of thing, one could run performance and stress tests on every build or use feature flags to compare performance with the prior build.
Instead of waiting for a load test at the end of a project to detect potential performance issues, performance tests can be used to baseline the performance of an application under development.
By measuring the response time for a single user performing specific functions, these metrics can be gathered and compared for each build of the application, said Kastl. This provides an early warning of potential performance issues. These baseline performance tests can be integrated with your CI/CD pipeline for continuous monitoring of the applications performance.
Mobile and IoT devices, such as wearables, have increased the need for more comprehensive performance testing and theres still a lot of room for improvement.
As the industry has moved more to cloud-based technology, performance testing has become more paramount, said Todd Lemmonds, QA architect at health benefits company Anthem, a Sauce Labs customer. One of my current initiatives is to integrate performance testing into the CI/CD pipeline. Its always done more toward UAT which, in my mind, is too late.
To affect that change, the developers need to think about performance and how the analytics need to be structured in a way that allows the business to make decisions. The artifacts can be used later during a full systems performance test.
Weve migrated three channels on to cloud, [but] weve never done a performance test of all three channels working at capacity, said Lemmonds. We need to think about that stuff and predict the growth pattern over the next five years. We need to make sure that not only can our cloud technologies handle that but what the full system performance is going to look like. Then, you run into issues like all of our subsystems are not able to handle the database connections so we have to come up with all kinds of ways to virtualize the services, which is nothing new to Google and Amazon, but [for] a company like Anthem, its very difficult.
DMW Groups Lewis said some of his clients have ignored performance testing in cloud environments since cloud environments are elastic.
We have to bring them back to reality and say, Look, there is an art form here that has significantly changed and you really need to start thinking about it in more detail, said Lewis.
UX testing beyond UI and UATWhile UI and UAT testing remain important, UI testing is only a subset of what needs to be done for UX testing, while traditional UAT happens late in the cycle. Feature flagging helps by providing early insight into whats resonating and not resonating with users while generating valuable data. Theres also usability testing including focus groups, session recording, eye tracking and quick one-question in-app surveys that ask whether the user loves the app or not.
One area that tends to lack adequate focus is accessibility testing, however.
More than 54 million U.S. consumers have disabilities and face unique challenges accessing products, services and information on the web and mobile devices, said SPRs Kastl. Accessibility must be addressed throughout the development of a project to ensure applications are accessible to individuals with vision loss, low vision, color blindness or learning loss, and to those otherwise challenged by motor skills.
The main issue is a lack of awareness, especially among people who lack firsthand or secondhand experience with disabilities. While there are no regulations to enforce, accessibility-related lawsuits are growing exponentially.
The first step to ensuring an applications accessibility is to include ADA Section 508 or WCAG 2.1 Accessibility standards as requirements in the products backlog along with functional requirements, said Kastl.
Non-compliance to an accessibility standard on one web page tends to be repeated on all web pages or throughout a mobile application. To detect non-compliant practices as early as possible, wireframes and templates for web and mobile applications should be reviewed for potential non-compliant designed components, Kastl said. In addition to the design review, there should be a code review in which development teams perform self-assessments using tools and practices to identify standards that have not been followed in coding practices. Corrective action should be taken by the team prior to the start of application testing. Then, during in-sprint testing activities, assistive technologies and tools such as screen readers, screen magnification and speed recognition software should be used to test web pages and mobile applications against accessibility standards. Automated tools can detect and report non-compliance.
Gartners Murphy said organizations should be monitoring app ratings and reviews as well as social media sentiment on an ongoing basis.
You have to monitor those things, and you should. Youre feeding stuff like that into a system such as Statuspage or PagerDuty so that you know somethings gone wrong, said Murphy. It may not just be monitoring your site. Its also monitoring those external sources because they may be the leading indicator.
Excerpt from:
There's more to testing than simply testing - SDTimes.com
- Mind uploading - 01 [Last Updated On: November 8th, 2009] [Originally Added On: November 8th, 2009]
- Mind uploading - 02 [Last Updated On: November 8th, 2009] [Originally Added On: November 8th, 2009]
- A new way to battle Mexican drug cartels - KLTV [Last Updated On: March 8th, 2010] [Originally Added On: March 8th, 2010]
- Mobile Health Screening Units Visit Lowe's Workers - International Supermarket News [Last Updated On: March 8th, 2010] [Originally Added On: March 8th, 2010]
- The quintessential sewing machine - Business Mirror [Last Updated On: March 8th, 2010] [Originally Added On: March 8th, 2010]
- The Future of Windows - Technologizer (blog) [Last Updated On: March 8th, 2010] [Originally Added On: March 8th, 2010]
- SEO Press Release Distribution Site Online PR News Celebrates 10000 Active Users - Online PR News (press release) [Last Updated On: March 8th, 2010] [Originally Added On: March 8th, 2010]
- Utilizing Online Mailing Services – Make the Most of Direct Marketing - RisMedia.com (press release) [Last Updated On: March 8th, 2010] [Originally Added On: March 8th, 2010]
- Carr's first look at 'Extreme' home - KLTV [Last Updated On: March 8th, 2010] [Originally Added On: March 8th, 2010]
- Should you advertise on iPhones? - Smart Company (blog) [Last Updated On: March 8th, 2010] [Originally Added On: March 8th, 2010]
- Review: Mega Man 10 - Destructoid [Last Updated On: March 8th, 2010] [Originally Added On: March 8th, 2010]
- Had I World Enough, and Time - Institute for Ethics and Emerging Technologies [Last Updated On: March 8th, 2010] [Originally Added On: March 8th, 2010]
- Unicast Continues Innovative Technology Enhancements With Latest Release of ... - CNNMoney.com (press release) [Last Updated On: March 16th, 2010] [Originally Added On: March 16th, 2010]
- Facebook scouts for 'passionate' India head - Economic Times [Last Updated On: March 16th, 2010] [Originally Added On: March 16th, 2010]
- SXSW: YouTube Launches Partner Program for Indie Bands - Wired News [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- Wider Still and Wider! - Bangkok Post [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- P2P Versus The World - Rampage [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- Yakuza 3 - The MMOMFG Review - MMOMFG (blog) [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- Behind the musings: The annotated high schools column - Chicago Tribune (blog) [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- Jihad Jane, YouTube, and Me - David Horowitz's NewsReal Blog (blog) [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- Justin Bieber Releases 'U Smile,' Announces Summer Tour Dates - MTV.com [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- FCC announces National Broadband Plan - VentureBeat [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- Image hosting on the cheap: a look at three free services - Ars Technica [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- Content Management: Secrets of the Trade - Formtek Blog (blog) [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- FCC's National Broadband Plan: There is a dark side - ZDNet [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- 5 Reasons Old Media Should Buy Facebook - AllFacebook (blog) [Last Updated On: March 17th, 2010] [Originally Added On: March 17th, 2010]
- "Steal It" and Other Internal YouTube Emails from Viacom's Copyright Suit - Fast Company [Last Updated On: March 19th, 2010] [Originally Added On: March 19th, 2010]
- Now cafes in monument premises for tourists during CWG - Sify [Last Updated On: March 19th, 2010] [Originally Added On: March 19th, 2010]
- Google-Viacom court papers leave a lot to the imagination - FierceOnlineVideo [Last Updated On: March 19th, 2010] [Originally Added On: March 19th, 2010]
- FCC's broadband plan: A possible dream - Washington Post (blog) [Last Updated On: March 19th, 2010] [Originally Added On: March 19th, 2010]
- The Importance of Using Social Networking for Business; Part I – Facebook - IPWatchdog.com [Last Updated On: March 19th, 2010] [Originally Added On: March 19th, 2010]
- Recording YouTube Videos - Acoustic Guitar [Last Updated On: March 19th, 2010] [Originally Added On: March 19th, 2010]
- Who's using location-based social networking? - KC Free Press [Last Updated On: March 20th, 2010] [Originally Added On: March 20th, 2010]
- iPhone will continue to beckon BlackBerry owners - CNET [Last Updated On: March 20th, 2010] [Originally Added On: March 20th, 2010]
- Rain leaves its mark on Azalea Trail events - KLTV [Last Updated On: March 21st, 2010] [Originally Added On: March 21st, 2010]
- Viacom v. YouTube/Google: A Piracy Case in Their Own Words - DailyFinance [Last Updated On: March 21st, 2010] [Originally Added On: March 21st, 2010]
- Getting a look at next high-tech | Philadelphia Inquirer | 03/22/2010 - Philadelphia Inquirer [Last Updated On: March 22nd, 2010] [Originally Added On: March 22nd, 2010]
- Sprint chews on Apple while lauding 4G Overdrive hotspot - The Tech Herald [Last Updated On: March 22nd, 2010] [Originally Added On: March 22nd, 2010]
- 'Repo Men' contest -- the nationwide chase is almost over - Los Angeles Times (blog) [Last Updated On: March 22nd, 2010] [Originally Added On: March 22nd, 2010]
- Viacom vs. YouTube/Google: A Piracy Case in Their Own Words - DailyFinance [Last Updated On: March 22nd, 2010] [Originally Added On: March 22nd, 2010]
- These iPhone apps will help make March Madness a little more sane - Appolicious [Last Updated On: March 22nd, 2010] [Originally Added On: March 22nd, 2010]
- Eye-Fi Pro X2 cards have arrived, and you probably want one - tuaw.com (blog) [Last Updated On: March 23rd, 2010] [Originally Added On: March 23rd, 2010]
- Pharmacist shows who wins, loses with health care bill - KLTV [Last Updated On: March 23rd, 2010] [Originally Added On: March 23rd, 2010]
- High-Tech Texts! - The Campus Slate [Last Updated On: March 24th, 2010] [Originally Added On: March 24th, 2010]
- CTIA WIRELESS 2010: Samsung's New Galaxy Brings 4" AMOLED Screen, Social Hub ... - Marketnews.ca [Last Updated On: March 24th, 2010] [Originally Added On: March 24th, 2010]
- Google must follow Chinese rules or leave - China Daily [Last Updated On: March 24th, 2010] [Originally Added On: March 24th, 2010]
- Jay-Z Short Documentary 'NY-Z' Premieres Online - MTV.com [Last Updated On: March 24th, 2010] [Originally Added On: March 24th, 2010]
- DAs clash over Mineola sex ring appeal - KLTV [Last Updated On: March 25th, 2010] [Originally Added On: March 25th, 2010]
- iSilo for iPhone - BusinessWeek [Last Updated On: March 26th, 2010] [Originally Added On: March 26th, 2010]
- Questions Abound as "New START" Agreement is Completed - Global Security Newswire [Last Updated On: March 26th, 2010] [Originally Added On: March 26th, 2010]
- What will Apple do next in mobile services? - Mobile Entertainment [Last Updated On: March 26th, 2010] [Originally Added On: March 26th, 2010]
- How much is too much to pay for health care? - Anchorage Daily News [Last Updated On: March 27th, 2010] [Originally Added On: March 27th, 2010]
- The Future of Smartphones: 4G and Beyond - Entrepreneur [Last Updated On: March 27th, 2010] [Originally Added On: March 27th, 2010]
- Uploading and uplifting: sharing big data files - Earthtimes (press release) [Last Updated On: March 28th, 2010] [Originally Added On: March 28th, 2010]
- Verizon Blasts 'Outdated' FCC Broadband Plan - NewsFactor Network [Last Updated On: March 28th, 2010] [Originally Added On: March 28th, 2010]
- Web Host Layered Tech Offers Mezeo-Powered Cloud Storage - Web Host Industry Review [Last Updated On: March 29th, 2010] [Originally Added On: March 29th, 2010]
- Dropbox: Now one more reason to want a Nexus One - ZDNet (blog) [Last Updated On: March 30th, 2010] [Originally Added On: March 30th, 2010]
- Exaflood: Politicians Prop Up Dinosaurs, Ignore Cutting Edge Technology - NewsBlaze (press release) [Last Updated On: March 30th, 2010] [Originally Added On: March 30th, 2010]
- Instructions - Washington Post [Last Updated On: March 30th, 2010] [Originally Added On: March 30th, 2010]
- Uploading for Life Extension Will Be Valid - Institute for Ethics and Emerging Technologies [Last Updated On: March 31st, 2010] [Originally Added On: March 31st, 2010]
- 'Glee's' MySpace Auditions: What Not To Sing - Wall Street Journal (blog) [Last Updated On: March 31st, 2010] [Originally Added On: March 31st, 2010]
- Memeo iPad Reader: Like the GDrive on your iPad (only different) - ZDNet (blog) [Last Updated On: April 1st, 2010] [Originally Added On: April 1st, 2010]
- Why are pipe bomb 'how to' videos legal? Answer is alarming - KLTV [Last Updated On: April 1st, 2010] [Originally Added On: April 1st, 2010]
- Trip to Haiti inspiration for East Texas teen - KLTV [Last Updated On: April 1st, 2010] [Originally Added On: April 1st, 2010]
- Jason Kilar Leads Hulu To Profitability, But Will He Stay On At Hulu? - TVbytheNumbers [Last Updated On: April 2nd, 2010] [Originally Added On: April 2nd, 2010]
- Layers for IPad Adds Online Gallery, Pro Options - PC World [Last Updated On: April 2nd, 2010] [Originally Added On: April 2nd, 2010]
- Shane Dawson, YouTube's Comic for the Under-30 Set - New York Times [Last Updated On: April 2nd, 2010] [Originally Added On: April 2nd, 2010]
- Hands-On With the Apple iPad — and Your Questions - Wired News [Last Updated On: April 4th, 2010] [Originally Added On: April 4th, 2010]
- FedEx Simplifies International Shipping with FedEx Electronic Trade Documents - MarketWatch (press release) [Last Updated On: April 6th, 2010] [Originally Added On: April 6th, 2010]
- Cacoo Lets Multiple Users Create Designs Collaboratively And In Real-time - TechCrunch (blog) [Last Updated On: April 7th, 2010] [Originally Added On: April 7th, 2010]
- Comcast: Your New Overlord - ITworld.com [Last Updated On: April 7th, 2010] [Originally Added On: April 7th, 2010]
- Bloggers Photograph Food, We Get Hungry - Switched (blog) [Last Updated On: April 7th, 2010] [Originally Added On: April 7th, 2010]
- Apple suggests only the iPhone can fingerprint songs - Geek.com [Last Updated On: April 7th, 2010] [Originally Added On: April 7th, 2010]
- Senior with mental challenges killed along highway - KLTV [Last Updated On: April 7th, 2010] [Originally Added On: April 7th, 2010]
- Book a Cruise and "Flip" Over a Free Camcorder - CruiseCritic.co.uk [Last Updated On: April 8th, 2010] [Originally Added On: April 8th, 2010]
- Creation Myths: what the argument that the iPad's not for creating content ... - Huffington Post (blog) [Last Updated On: April 8th, 2010] [Originally Added On: April 8th, 2010]
- Want market share? Make a brain claim - Marketing Web [Last Updated On: April 8th, 2010] [Originally Added On: April 8th, 2010]
- 10 Ways World of Warcraft - OUPblog (blog) [Last Updated On: April 8th, 2010] [Originally Added On: April 8th, 2010]
- Check-in to Foursquare: Latest social media service lands in SW Florida - Naples Daily News [Last Updated On: April 8th, 2010] [Originally Added On: April 8th, 2010]
- Apple iPhone OS 4 Announcement Makes Users Feel "Finally!" - HULIQ [Last Updated On: April 8th, 2010] [Originally Added On: April 8th, 2010]