February 4, 2016

Thoughts on the Second Annual 'State of Testing' Survey Results released by Sauce Labs

What is the relationship at your company between DEV and QA like:
  • Artist and Art Critic?
  • Or Writer and Copyeditor?

According to Sauce Labs' Second Annual 'State of Testing Survey' released a few days ago, testers are more than likely to find the latter instead of the former.

Why? In a word: Agile.



What is Waterfall and Agile?


Back when I first started my career in the software testing industry, we used what was known as the Waterfall Method to develop software.  Teams of business analysts figured out the requirements and design the architecture of the product, who would hand it off to the designers who would hand their work to the developers, who would then send their finished work to the testers. Some companies looped in the testers in their planning meetings, involving them into the meetings. Some did not, making the tester's life quite interesting.

That changed with the Agile Software Development Methodology. Testers, developers, and designers scoped out, as a team, how to implement every two weeks the business requirements the product owner suggested.

  • Read more about Agile on my blog  

Agile Pros and Cons


Agile Software Development became a mixed blessing for testers:
  • PROS: Testers are now a valued member of the software development team.
  • CONS: No time to carefully draft and execute suites of regression test plans, verifying that adding the new stuff that the old stuff didn't break. 

Just before releasing an updated version of the web application, I'd lead the QA team in executing the extensive browser testing suite I drafted. We'd use a mouse and keyboard to point-and-click their way through the series of tests again, and again, and again, and again with Chrome, Firefox, Microsoft Internet Explorer version and all its versions from IE8 to IE10. It would be a very tedious one or two weeks.

Automated testing fixes this: Develop an automated test suite for the various browsers and platforms using tools such as Selenium WebDriver

  • PROS: Goodbye manual regression test suite!
  • CONS: Hello configuring all the browser and platforms in your testing environment!

How Sauce Labs Helps Agile


Sauce Labs provides automation developers with an online suite of browsers, operating systems, and mobile devices where they can execute their automated tests. Sauce Labs is very active in the testing community from running their own testing blog, SauceIO and sponsoring software testing podcasts such as Test Talks with Joe Colantonio at http://joecolantonio.com/testtalks/.

Sauce Labs and the 'State of Testing'

Press Release: Sauce Labs Releases Second Annual ‘State of Testing’ Survey Results
https://saucelabs.com/press-room/press-releases/sauce-labs-releases-second-annual-state-of-testing-survey-results

"SAN FRANCISCO – Jan. 26, 2016 - Sauce Labs, Inc., provider of the world’s largest cloud-based platform for automated testing of web and mobile applications, today announced the results of an independent survey titled, 'Testing Trends in 2016: A Survey of Software Professionals'. The survey, conducted by Dimensional Research, reveals that while 88 percent of organizations say they have adopted agile development, only one in five have fully implemented the five best software testing practices typically associated with a mature agile development process.

"The report, commissioned by Sauce Labs, represents the company’s second annual 'State of Testing' research report, and is designed to better understand current trends in delivering high quality web and mobile applications. Covering topics such as agile software development, modern testing techniques, Continuous Integration (CI), and cross-browser test coverage, the report stems from a survey conducted in December 2015". (Read MORE)

Whitepaper: Testing Trends in 2016: A Survey of Software Professionals

The document, "Testing Trends in 2016: A Survey", is at https://saucelabs.com/resources/white-papers/sauce-labs-state-of-testing-report-2016.pdf. (12 pages)


About the Whitepaper


Dimensional Research interviewed 520 "software professionals responsible for the quality of web applications. The goal of this global survey was to understand current trends in testing online environments. Certain questions were repeated from a similar survey conducted to the same audience one year ago to allow for trend analysis".

Two things jumped out at me after reading Sauce Labs' survey:

  • Agile is the way to go for us Software Quality Assurance Engineers, since "86% report development and QA teams think of themselves as partners"
  • Sauce Labs has a darned high bar with what they think of as "embracing Agile".

Once you have an automated test suite, you can set up:
  • A small sample of tests to run against new code as soon as developers check in their code. 
  • A larger set of tests to run against hourly builds to a testing environment that is similar to production, but with the dependencies scaled back. 
  • Just before a release to the production environment, the code can then be deployed and tested against an exact clone of the production environment.    
Think of it as a bug filtration system. First you perform a sanity check. Then you  putting the code through its initial paces. Then you test it on a close a simulation on the live environment we can get.

According to the Survey, people do weekly builds, but they wish for daily.

If you have the automated deployment and testing system uses a Release Engineer who examines the results of the test before deployment, it is Continuous Development. If it goes right on through to Production, in is Continuous Integration.

Taken from Sauce Labs 'State of Testing' Report


As far as I knew, Continuous Integration was a supplement to the Agile Development Process. Agile was about co-workers being able to take charge of their own work schedule, contributing to a team.

"Individuals and interactions over processes and tools.
Working software over comprehensive documentation.

Customer collaboration over contract negotiation.

Responding to change over following a plan. 
That is, while there is value in the items on the right, 
we value the items on the left more".

- The Agile Manifesto (2001)


... Agile isn't about any particular toolset. It's about a mindset.

This is why I found the survey results a bit odd. The survey claims that there are certain Agile best practices that they believe should be followed to achieve "agile testing maturity". Some points, I agree with. Some, not so much. The survey found:

  • "23% fix bugs right away
  • "24% iterate small testable requirements rather than waiting for features to be completed
  • "26% have more automated testing than manual
  • "77% of the development and QA teams communicate in real-time
  • "86% report development and QA teams think of themselves as partners"
With Agile, DEV and QA are equal partners -- finally! We are on the same team. We attend the same quick ten minute morning meetings that we call scrum... just a quick huddle to talk about what we worked on yesterday, what we were working on today, and if there are any roadblocks. 

Bugs Should Be Fixed Right Away, Else It Ain't Agile?


But why the heck should all bugs be fixed right away? Who determined this was a "best practice" in Agile?



When triaging a bug, it is important to measure two quantities to perform a risk assessment:
  • A) Severity: How disastrous to the business would it be if the bug happened? (Score 1 to 5)
  • B) Frequency: What are the chances of the bug happening?  (Score 1 to 5)
A * B = Risk Score. This determines the priority.  

If there is a very slim chance of a disastrous bug happening, or there is a bug that always happens with, say, by a small subset of the number of users of the web or mobile app, it shouldn't get a high priority. Yes, we should record the exact steps to reproduce the problem. Yes, we should get the system conditions when the bug happened. But there may be bigger fish to fry. Not all bugs can get fixed immediately. It completely depends on the team's bandwidth, and the risk score of the bug. 

Testing Should Be Highly Automated, Else It Ain't Agile?


I hate to break it to Sauce Labs, since I love how they are supporting our testing community, but I think they are completely wrong on this point. 

Automation is not the end-all-and-be-all. It can't be. The code that is an automated test should be treated like production code. It takes time to analyze it, refactor it, clean it up, and have a peer review process as some type of code review. 

When new functionality is built into a product, we need a nimble team of manual testers to spearhead the testing process, brainstorming right along with the developers, exploring all technical aspects of what is being built. As the developers are asking "How the heck do a BUILD this?" the QA Team needs to ask "How the heck do I TEST this?". The automated testers can also ask, "... And how do I automated these tests?" getting the information straight from the sources, but I think it is a mistake to start developing code when the manual test team is still attempting to decide on an approach. 

As an automation developer, I believe it is my job to take the largest pain points away from the manual test team. What is the most mundane, routine tests that are lengthy, boring, and repetitive, thus the most prone to human error? The answer to that question should determine what should be automated. 

Automation can not solve everything: It can't tell if the User Interface is intuitive or not, or if it is well designed, or what the User Experience is like. An automated test can only find if A, B, or C is working. A trained manual tester can find the unknowns using user profiles, knowledge of the system, and instinctive hunches and guesses to test the system. 

   
-T.J. Maher
 Sr. QA Engineer, Fitbit
 Boston, MA

// Automated tester for [ 11 ] month and counting!

Please note: 'Adventures in Automation' is a personal blog about automated testing. It is not an official blog of Fitbit.com

6 comments:

Best Stereo Tube Amp said...

outstanding post, your content is very helpful for me

Anonymous said...

My hobby is new technology. I am a student and want to recommend a good resource to help you devote more time to your hobby). Although essaypro reviews https://nocramming.com/essaypro-review may be a bit expensive for students, you can save money by using coupons and promotion codes. The company also has a unique rebate program for new clients. With these, you can save up to 25% on your order. If you are looking for a cheap essay writing service, look for one with frequent promo coupons.

Anonymous said...

While using a custom essay writing service more may seem like an easy task, there are some things that you need to consider. For example, if you are under a time crunch, it may be beneficial to hire a professional essay writer who will complete your assignment on time and within your budget. This service will allow you to choose a writer based on their skill level and customer reviews. In addition, all essays are proofread and edited by professionals to ensure the quality of your essay.

Anonymous said...

Did you ask your friends to "do my homework" https://domyhomeworkabc.com/ ? I want to recommend the site.The site is very easy to navigate and offers a lot of information about
Its services. It also offers unlimited edits which is a plus. When you hire a service to help me with my homework, you can be assured that the essay editors will do all the work for you. To keep this poisonous schedule from turning into a daily loop, I have used a special essay writing service.

Anonymous said...

Help Writing a Dissertation
A dissertation write-my-dissertation.org can be a daunting task. It can also be a rewarding endeavor. This is particularly true if you have a passion for the subject matter. Getting help writing a dissertation is a great way to overcome the daunting challenge.Not only will you receive feedback from your advisor, but you may also participate in a peer review group to get suggestions and ideas for your own project.

Anonymous said...

When choosing a writer, it’s important to choose someone who has experience with your particular topic and has previously written for other students. These professionals christiansandclimate.org are capable of delivering you with an excellent quality essay that will not only earn you a high grade, but also help you gain confidence in your abilities to complete other essays on your own.