In Defense of Test Design
In Defense of Test Design
Test design is central to both effective, efficient testing and the engineering of tests. It's also a crucial element of every successful test automation project.
Join the DZone community and get the full member experience.Join For Free
I once consulted for a company to give a week-long course on testing and QA. It was a survey course covering a wide range of topics. As I was setting up, I was chatting with students in the room. One man came over to me and said, “I have been testing for six months and I am completely bored. I plan on getting a different job in software, either in the company or outside, but it won’t be in testing. I know testing is important — very important — but it’s so boring. It’s not for me. This is my last chance. I hope I can learn something from this class that makes testing more interesting or challenging.”
This exchange isn't typical. Although I have met people in testing who find no challenge in what we do, meeting someone at that breaking point is rare.
The problem he faced was multi-faceted. The company was seriously under-using their testers. The testers were restricted to doing simple happy path validation checking rather than including tasks for quality improvement and focusing on customer experience. Also, the more technically interesting automation was given “in-your-spare-time” priority, meaning it never got done. However, where this company was most deficient was in encouraging their test team to find interesting bugs and design issues. What they needed to do was embrace the test team as software development engineers who test.
The team had no knowledge of the efficiency of data-driven testing. There was no optimization of tests by parameterizing expected results to be able to more efficiently drive more data through a minimal number of tests and get greater coverage. There also was a lack of knowledge of soap opera testing and its unique goals or its superiority to other types of tests to find certain classes of issues such as race condition and concurrency issues.
The company above was deficient in training and was failing to give the necessary time budget required to do so. It also needs to be stressed that the individuals on the team bear responsibility in not knowing our craft to the degree where they’d be able to advocate for smarter, higher-quality testing, more responsibility, and the necessary allotment of time to improve quality.
Blame perspectives on quality, the intrinsic value of the test team, time budgeting, or care for customers, but all that aside, this team needed an entire course just on test design. They really were clueless as to what was involved in test case design and test development.
Simply put, test design is the engineering of a test to accomplish your quality goal. It takes knowledge, intelligence, understanding, vision, business acumen, and a certain variety of mental sharpness that most people usually do not associate with testing.
If someone is going to find engineering “boring,” then perhaps they are not cut out for a career in testing. Consider this: testing leads directly to customer satisfaction. Test teams are increasingly collaborating on design, UI, UX, product capabilities, and time estimates. All of these factors are crucial to product success! Testing can be interesting and exciting in a variety of ways, and a key factor in this is test design. Test design is central to both effective, efficient testing and the engineering of tests. It's also a crucial element of every successful test automation project.
Published at DZone with permission of Denny Nguyen , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.