Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Context Driven Testing

Context Driven Testing

Introduce the concept of Context Driven Testing

Proko Chou

April 24, 2017
Tweet

More Decks by Proko Chou

Other Decks in Technology

Transcript

  1. Agenda • What is context? • The Execution of Context

    Driven Testing in CloudMosa • Origin • Examples • 7 Basic Principles • Decision Making Items • Comparison of Different Testing Methods • In Summary • Reference
  2. What is Context? 1. No specific translation in Chinese 2.

    According to Wikipedia: 西方語系的人清楚知道:「在一個整體中, 周圍的環境、因果脈絡、環境設定等東西 ,會根本性的影響"事件"本身的意義。」而 Context就是指這些周圍的環境、因果的 脈絡。 因此在和受過西方教育的人說話時,如果 意思不夠清楚,他們就會說:"What's the context?"
  3. Are we using the method of context driven testing? Execution:

    ◦ Independent Test ◦ Review Testing Strategy (more testers, different approach) ◦ Aware of Testing Process ◦ Responsible for Testing ◦ Customer Support
  4. Origin • Developed by Cem Kaner, James Bach & Bret

    Pettichord. • Book: Lessons Learned in Software Testing, 2001
  5. Examples • Drive to airport ◦ The normal worst choice

    turned out to be the best one. • Go to Puffin’s bookmark list • Go to Android Settings
  6. 7 Basic Principles 1. The value of any practice depends

    on its context. 2. There are good practices in context, but there are no best practices. 3. People, working together, are the most important part of any project’s context. 4. Projects unfold over time in ways that are often not predictable. 5. The product is a solution. If the problem isn’t solved, the product doesn’t work. 6. Good software testing is a challenging intellectual process. 7. Only through judgment and skill, exercised cooperatively throughout the entire project, are we able to do the right things at the right times to effectively test our products.
  7. Decision making items • The people involved • Circumstances •

    Goals • Available options • Emotions, etc.
  8. Comparison of different testing methods • Exploratory testing: ◦ Testers

    or users learn how to use the product • Agile testing: ◦ Unit test and SW development period
  9. In Summary 1. Instead of exhaustive method 2. Let these

    circumstances decide your test practices, techniques and even definitions rather than standard, industry-perceived ‘best practices’ 3. Making your circumstances (not the standards) the primary inputs and influencers for your test strategy
  10. Reference 1. Software Testing Help Website: http://www.softwaretestinghelp.com/what-is-context-driven-testing/ 2. James Bach’s

    Blog: http://www.satisfice.com/blog/ 3. From Test Cases to Context-Driven: A Startup Story: https://youtu.be/ENJQGYoE2jU 4. Building a Context Driven Test Team: https://youtu.be/-KI9TIznVqQ