Notes on Classic Testing Mistakes @schmidt_fu – Long posts

Notes on Classic Testing Mistakes @schmidt_fu

Jeremy W. Sherman
I make Macchiato [macchiato.10centuries.org] for 10C's iOS-using community.

Father of two kids. Grew up in St. Louis, schooled in Florida, live and work (mostly from home) in Atlanta.

#pnutpatreon #dev

@jws on Pnut

@schmidt_fu Brian Marick, 1997, "Classic Testing Mistakes", from "Testing Foundations: Consulting in Software Testing". Addresses more the notion of a test team and QA.

Useful ideas:

  • If the UI is limited, add a test interface to allow introspecting better.
  • When a regression happens, poke around and add more tests, not just   a regression test. Bugs tend to move in swarms.
  • Take notes; the same problems tend to recur, and you can reuse the general   testing approach again and again.
  • Automation vs. manual testing follows a break-even logic. If it takes you   longer to automate a test than it does to just run the test yourself   the limited number of times it will run, don't automate.   - Record and replay systems can reduce the automation cost, but are often     hampered in practice such that they aren't worth using at all.   - Scripted tests, using an API, are more easily maintained, though now you're     coding up a test API. And API design remains hard.   - Data-driven tests can be very robust to UI changes; they are also often     more comprehensible for domain experts.   * WARNING: Automated UI tests cannot be relied upon to test all routes to     a view; you'll have to rely on lower-level (easily broken) automated tests,     or manual testing.
  • Code coverage: "Coverage has told you where your tests are weak, but it's up   to you to understand how." Branch coverage can be more useful than raw   statement coverage info.
  • Start stress and load testing ASAP.

Written with ChimPnut.

Activity: 1 Reply, 0 Reposts, 1 Bookmark

Discussion

View on Beta

@schmidt_fu The most important part of test automation IME is carefully selecting what should and should not be automated to get the best bang for your buck. (I can send you some links if you're curious.)
@jws Yeah, that topic came up already.
Please do, I'm interested!
First day went pretty well. Found some allies, got some tooling set up, made a repo, wrote some demo acceptance tests. Also, cleared up some legacy task from the last project.
@schmidt_fu sounds good. weitermachen! :)
@schmidt_fu I recommend Brian Marick's 1997 article "Classic Testing Mistakes" [exampler.com], from "Testing Foundations: Consulting in Software Testing".
Notes on Classic Testing Mistakes @schmidt_fu - http://chimpnut.nl/u/jws/lp/134887 - #longpost
@jws Thanks!
@jws Thanks, this is a great resource!
Limited number of times is a good argument to limit automation; in my case there's also external constraints like deployment times, availability of services and even persons.
@schmidt_fu Just writing up test scripts for manual execution and thinking about what is valuable to test goes a long way.