1 / 28

Integrate Agile Testing into the Process

Integrate Agile Testing into the Process. CS 577b Software Engineering II Supannika Koolmanojwong. Outline. How to integrate agile concept in testing Definition of Done Acceptance Criteria HW 1. Agile Testing Practices. TDD Pair Programming Refactoring Continuous integration.

haines
Télécharger la présentation

Integrate Agile Testing into the Process

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Integrate Agile Testing into the Process CS 577b Software Engineering II Supannika Koolmanojwong

  2. Outline • How to integrate agile concept in testing • Definition of Done • Acceptance Criteria • HW 1

  3. Agile Testing Practices • TDD • Pair Programming • Refactoring • Continuous integration

  4. Why testing at the end does not work ? • It is hard to improve the quality of an existing product • Think about legacy system or existing system • Mistakes continue unnoticed • Finding a needle in haystack • The state of the project is difficult to gauge • Difficult to estimate test & fix activities of the developed product • Feedback opportunities are lost • Testing is more likely to be cut Ref: Mike Cohn – Succeeding with Agile (2010)

  5. But !! • “it will take too much time to test continuously. We need to be realistic and acknowledge that it’s better to test every fifth or sixth sprint.” • When you test less often, it takes longer. • Usually these are the cases of manual testing. Then, you should start introducing automated testing. Ref: Mike Cohn – Succeeding with Agile (2010)

  6. But !! • “it’s more efficient to have testers working one sprint behind the programmers.” • If you test one sprint behind, who will you go when you have questions. • Efficient for programmer or the team? Ref: Mike Cohn – Succeeding with Agile (2010)

  7. What building in quality looks like? • The use of good engineering practices • Small hand-offs between programmers and testers • Programmer and tester talk about which capability will be added to the product next • Tester creates automated tests, programmers code • Once both are done, integrate • Much test activity on the first day of a sprint Ref: Mike Cohn – Succeeding with Agile (2010)

  8. Nine principles • Speed requires discipline • Bad shortcuts  short term speed • Agile does not need Quality Police, but the ones who know acceptance criteria and risks Lisa Hendrickson: ttp://testobsessed.com/wp-content/uploads/2011/04/AgileTestingOverview.pdf

  9. Lisa Hendrickson: ttp://testobsessed.com/wp-content/uploads/2011/04/AgileTestingOverview.pdf

  10. Lisa Hendrickson: ttp://testobsessed.com/wp-content/uploads/2011/04/AgileTestingOverview.pdf

  11. Lisa Hendrickson: ttp://testobsessed.com/wp-content/uploads/2011/04/AgileTestingOverview.pdf

  12. Lisa Hendrickson: ttp://testobsessed.com/wp-content/uploads/2011/04/AgileTestingOverview.pdf

  13. Lisa Hendrickson: ttp://testobsessed.com/wp-content/uploads/2011/04/AgileTestingOverview.pdf

  14. Lisa Hendrickson: ttp://testobsessed.com/wp-content/uploads/2011/04/AgileTestingOverview.pdf

  15. Lisa Hendrickson: ttp://testobsessed.com/wp-content/uploads/2011/04/AgileTestingOverview.pdf

  16. Lisa Hendrickson: ttp://testobsessed.com/wp-content/uploads/2011/04/AgileTestingOverview.pdf

  17. Lisa Hendrickson: ttp://testobsessed.com/wp-content/uploads/2011/04/AgileTestingOverview.pdf

  18. Definition of Done • Checklist of conditions that must be true • Must be ready before a backlog is pulled into a sprint during sprint planning

  19. Sample of DoD Upgrade verified while keeping all user data intact. Potentially releasable build available for download  Summary of changes updated to include newly implemented features Inactive/unimplemented features hidden or greyed out (not executable) Unit tests written and green Source code committed on server Jenkins built version and all tests green Code review completed (or pair-programmed) How to Demo verified before presentation to Product Owner Ok from Product Owner http://www.scrum-breakfast.com/2012/11/sample-definition-of-done.html

  20. Sample of DoD Code produced (all ‘to do’ items in code completed) Code commented, checked in and run against current version in source control Peer reviewed (or produced with pair programming) and meeting development standards Builds without errors Unit tests written and passing Deployed to system test environment and passed system tests Passed UAT (User Acceptance Testing) and signed off as meeting requirements Any build/deployment/configuration changes implemented/documented/communicated Relevant documentation/diagrams produced and/or updated Remaining hours for task set to zero and task closed http://www.allaboutagile.com/definition-of-done-10-point-checklist/

  21. How to build a definition of done ? • Brainstorm • What are essential ? • Identify non-iteration/sprint artifacts • Which one can not be done every iteration? • Capture impediments • Identify obstacles why a particular artifact will not be available at the end of the iteration • Commitment • Get a consensus http://www.gettingagile.com/2007/10/05/building-a-definition-of-done/

  22. Things to look at • Installation build • Pass all automated tests in staging environment • Sign Off • Pass Audit • Installation Documentation Accepted by Operations • Release Notes Updated • Training Manuals Updated http://www.gettingagile.com/2007/10/05/building-a-definition-of-done/

  23. http://www.scrumalliance.org/articles/106-definition-of-done-a-referencehttp://www.scrumalliance.org/articles/106-definition-of-done-a-reference

  24. Acceptance Criteria http://nomad8.com/acceptance_criteria/

  25. Acceptance Criteria http://nomad8.com/acceptance_criteria/

  26. HW 1 Based on your project artifacts, distribute user stories among your team members • Pick three different user stories to write acceptance criteria • Pick one test case to write test procedure No two team members will have the same user stories or test case.

  27. Example of a Test Case

  28. Example of test procedure

More Related