12.07.2015 Views

Too much automation or not enough? - PNSQC

Too much automation or not enough? - PNSQC

Too much automation or not enough? - PNSQC

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Automated Failure Analysis is a means of determining if a specific observed failure has previously beendiagnosed. Why Weak Automation Is W<strong>or</strong>se Than NoAutomationreally strikes home.A<strong>not</strong>her example is verifying UI output. Frequently min<strong>or</strong> variances in UI can be critical <strong>or</strong>inconsequential. Computers have a difficult time distinguishing. Computers can easily distinguish ifsomething is different, but <strong>not</strong> the significance of the difference. So one example of <strong>automation</strong> is toautomatically rec<strong>or</strong>d differences (analysis) and later provide humans the ability to manually evaluate theirsignificance (rep<strong>or</strong>ting).7 ConclusionHow are you repeating your test? Manually via humans <strong>or</strong> automated via software?Software test <strong>automation</strong> is merely a method of repetition. When to automate software testing isdependent on many fact<strong>or</strong>s mostly around repetition.When are you repeating your tests? How often? Every input value <strong>or</strong> combination of inputs? Every day<strong>or</strong> once a year? The m<strong>or</strong>e you repeat the m<strong>or</strong>e likely <strong>automation</strong> makes sense.Why are you repeating your tests? Change to the inputs, environment, <strong>or</strong> software? Changing the inputsrequires an understanding of what the expected outputs will be. F<strong>or</strong> UI testing, a human can sometimesm<strong>or</strong>e quickly and easily judge if the expected output looks right. F<strong>or</strong> changing environment and softwareyou are usually expecting the same output, and automated tests are typically m<strong>or</strong>e reliable at detectingchanges.What are you repeating about your tests? What are you varying? Repeating the same inputs makes<strong>automation</strong> m<strong>or</strong>e likely. Varying an environment may be expensive and difficult and thus only manuallydone. Repeatedly using the same SUT means you are looking f<strong>or</strong> latent defects, <strong>not</strong> regressions, andexpl<strong>or</strong>at<strong>or</strong>y testing may be most valuable.8 ReferencesBergman M., and K. Stobie, 1992 How to Automate Testing-the Big Picture, Quality Week 1992http://keithstobie.net/Documents/TestAuto_The_BigPict.pdfDustin, E., et al 1999, Automated Software Testing: Introduction, Management, and Perf<strong>or</strong>mance,Addison-Wesley Professional 1999. ISBN: 978-0201432879Gamma, E., et al 1994, Design Patterns: Elements of Reusable Object-Oriented Software, Addison-Wesley Professional, 1994 ISBN: 978-0201633610Hoffman, D. 1999, Cost Benefits Analysis of Test Automation, Proceedings of the Software TestingAnalysis and Review Conference (STAR East). Orland, Fl<strong>or</strong>ida. May 1999http://www.softwarequalitymethods.com/Papers/Star99%20model%20Paper.pdfKaner, C., J. Bach and B. Pettich<strong>or</strong>d. 2001, Lessons Learned in Software Testing, Wiley 2001Marick, B. 2000, Testing F<strong>or</strong> Programmers, (pages 43-47)http://www.exampler.com/testing-com/writings/half-day-programmer.pdfMarick, B. 1999, http://www.exampler.com/testing-com/writings/testers-upstream.pdfMarick, B. 1998, When Should a Test Be Automated?, Quality Week 1998http://www.exampler.com/testing-com/writings/automate.pdf______________________________________________________________________________Excerpt from <strong>PNSQC</strong> 2009 Proceedings10 of 11<strong>PNSQC</strong>.ORG

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!