Smart Testing Ideas
Christin Wiedemann

Smart Testing Ideas

On the way to work this morning I listened to an interview with Christin Wiedemann on TestTalks (for the second time) and picked up some ideas that I hadn’t before. I am always looking for ways to be more effective because I am stretched too thin and am the first to say that I am not able to work to the level that I would prefer (sound familiar?).

Back in my early training I latched on to the Truth Table as my favorite test tool. I list all of the theoretical possible combinations of state, values, and actions with the expected outcome, and then remove any that are either impossible or are obvious duplication. But now that I am the only tester supporting 6 developers, 6 BAs, and a dozen systems,  I just don’t have time to test all these remaining combinations.

The idea that Christin gave me was to ignore the happy path and just test for failures. She reasoned that passing tests don’t teach you anything but failures do. She went on to talk about Likelihood and Impact of a failure as the criteria to prioritize tests.

Just give each condition a score of 1 to 5 for each of these criteria and then rank them by the sum of the two values 

 

 I realized that if I only tested conditions that had a higher than average sum of these risk criteria that I would still eventually cover the happy path conditions anyway, when these tests passed.

She also noted that when assessing the risk of each condition you need to know which behavior is most important (to the user). Requirements or Stories should have acceptance criteria but it is helpful to ask why these criteria are important because the answer will drill down into the real impact of a possible failure. This understanding can make clear which test cases address the real concerns, most directly.

Christin suggests asking what could cause the failure. What I really want, is to group tests by source of a possible failure. Since one specific failure could fail multiple tests you just need to test one of them to learn about the problem. This works well with another favorite tool of mine, Equivalence Partitioning, which eliminates tests that are testing equivalent conditions.  Often I cannot find or create test data required for all tests. If I know that several tests all address the same potential cause, then I can focus on finding data for just one of them.

With this understanding of how fewer test cases can still cover the most important risks, I feel confident that my testing ensures a high quality deliverable, within the time constraints imposed on me. But I will have to try it and see if it helps catch defects quicker without missing anything significant. The interview discussed ideas from her 2015 Oredev Conference talk.

Thanks Christin and Joe.

Eric Thomson

Web Designer at E & K Associates

8 年

In practice I find that one happy path test is a good way to become confident of the general scenario, before embarking on the more interesting tests. Also since the stories tend to call out the happy path, creating those tests goes really fast so there is not much savings in skipping them. But if setting up data is difficult it may be worth focusing on the mre interesting tests.

回复

要查看或添加评论,请登录

Eric Thomson的更多文章

  • Semantic Locators

    Semantic Locators

    Back in 2016 I wrote a post titled User Observable Locator Controversy Which asked the question, is it better to use…

  • User Observable Locator Controversy

    User Observable Locator Controversy

    Generally test automators prefer to identify elements using the attribute: id, because it is unique on the page but…

    4 条评论
  • Firefox 48 Broke Selenium - 2 Step Solution

    Firefox 48 Broke Selenium - 2 Step Solution

    This is getting annoying, every time Firefox makes another update it breaks my Selenium tests. I don't want to keep…

  • 3 Steps to Introduce Automation to Manual Testers

    3 Steps to Introduce Automation to Manual Testers

    The topic of test automation can be overwhelming, so how can you get started? Last Friday I attended the IIST Webinar:…

    2 条评论
  • Update Firefox and Selenium

    Update Firefox and Selenium

    The other day, my selenium tests quit working with Firefox 47 and I posted a big work-around (link). which required an…

  • Firefox 47 Sink Your Selenium Scripts?

    Firefox 47 Sink Your Selenium Scripts?

    I have a habit that before starting to write any new test automation scripts, I run one that I know was working…

    2 条评论
  • Modern Testing @ TCQAA

    Modern Testing @ TCQAA

    Last night, Andy Tinkham gave his first talk about this topic, after after attending a Reinventing Testers workshop…

  • 4 Hurdles to Clear for Test Automation

    4 Hurdles to Clear for Test Automation

    The fear of implementing test automation prevents many top notch QA teams from implementing an automation practice to…

  • Three Amigos Collaboration

    Three Amigos Collaboration

    I recently read Bob Galen’s post, The "3 Amigos" in Agile Teams. He explains that this term has been around since 2009,…

  • Awards and Recognition

    Awards and Recognition

    After a couple weeks of high stress and long hours I just finished testing a high profile project. At our team meeting,…

社区洞察

其他会员也浏览了