Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Where quality begins and Test strategy as a template

69 views

Published on

Where quality begins and Test strategy as a template

Published in: Software
  • Be the first to comment

Where quality begins and Test strategy as a template

  1. 1. TEST STRATEGY TEMPLATE
  2. 2. Test StrategyTemplate ■ Reminder ■ Where Quality begins ■ Why? ■ Test Pyramid ■ TestTypes – Unit testing – API / ServiceTesting – AcceptanceTesting – RegressionTesting – ExploratoryTesting ■ Discussion & Questions on test types
  3. 3. Reminder (Agile document) “To Constantly DeliverWorking Software that Meets Customer’s Requirements by means of Providing Fast Feedback and Defect Prevention, rather than Defect Detection” “In SCRUM (agile) QA is the responsibility of everyone, not only the testers. QA is all the activities we do to ensure correct quality during the development of new (or maintaining old) products” - No code may be written for a story until we first define its acceptance criteria/tests - A story may not be considered complete until all its acceptance tests pass
  4. 4. Where Quality begins ■ Requirement – Must to be clear (and understood) to all team members ■ User Stories – Should be INVEST (Independent, Negotiable, Valuable, Estimable, small & Testable) – Understanding the [benefit] part of user story ■ Acceptance criteria – possibly the most important element which encourages communication with different members of the team ■ Development – Engineers working together to produce a working software…
  5. 5. Why? Most common cause of software development failure is due to unclear requirements and different interpretation of requirements by different members of the team
  6. 6. TEST PYRAMID
  7. 7. ■ IsolatedTests (unit , component, Integration) – Contract and Collaboration testing strategy ■ API / ServiceTest ■ AcceptanceTest ■ Regression / System / UATTest ■ ExploratoryTest Type of tests?
  8. 8. UnitTesting (IsolatedTests) ■ WHY: To ensure code is developed correctly ■ WHO: Developers ■ WHAT: All new code + re-factoring of legacy code as well as JavaScript unitTesting ■ WHEN:As soon as new code is written ■ WHERE: Local Dev + CI (part of the build) ■ HOW: Automated
  9. 9. API / ServiceTesting ■ WHY:To ensure communication between components are working ■ WHO: Developers /TechnicalArchitects ■ WHAT: New web services, components, controllers, etc. ■ WHEN:As soon as newAPI is developed and ready ■ WHERE: Local Dev + CI (part of the build) ■ HOW: Automated, Soap UI, Rest Client
  10. 10. AcceptanceTesting ■ WHY:To ensure customer’s expectations are met ■ WHO: Developer / SDET / ManualQA ■ WHAT:Verifying acceptance tests on the stories, verification of features ■ WHEN:When the feature is ready and unit tested ■ WHERE: CI /Test Environment ■ HOW: Automated (Cucumber)
  11. 11. RegressionTesting (Integrated test✶) ■ WHY:To ensure the whole system works when integrated ■ WHO: QA / SDET*/ BusinessAnalyst / Product Owner ■ WHAT: ScenarioTesting, User flows and typical User Journeys ■ WHEN:When Acceptance Testing is completed ■ WHERE: X Environment ■ HOW: Automated (e.g. WebDriver), Manual regression testing * Software Development Engineer inTest ✶ Integrated test is any test whose result (pass or fail) depends on the correctness of the implementation of more than one piece of non-trival behavior -J. B. Rainsberger
  12. 12. ExploratoryTesting ■ WHY:To use knowledge and experience to predict where and under what condition the system might behave unexpectedly ■ WHO: QA /Tester / SDET/ Developers / Business Analyst / Product Owner ■ WHAT: System, Domain knowledge,Testing experience ■ WHEN: During development and / or after all automated test passed ■ WHERE: X Environment ■ HOW: Exploratory the SUT (system under test)
  13. 13. Discussio n & Qs
  14. 14. ■ IsolatedTests (unit , component, Integration) – Contract and Collaboration testing strategy ■ API / ServiceTest ■ AcceptanceTest ■ Regression / System / UATTest ■ ExploratoryTest List of test types we may want to discuss

×