Testing and Scrum. Agenda. Fall 2007 Scrum Gathering



Similar documents
ISTQB Agile Tester in a Nutshell ISTQB Marketing Working Group

Scrum: A disciplined approach to product quality and project success.

ISTQB Certified Tester. Foundation Level. Sample Exam 1

Agile extreme Development & Project Management Strategy Mentored/Component-based Workshop Series

When is Agile the Best Project Management Method? Lana Tylka

Agile Development and Testing Practices highlighted by the case studies as being particularly valuable from a software quality perspective

ISTQB - Certified Tester Advanced Level - Test Manager

PLM - Agile. Design Code Test. Sprints 1, 2, 3, 4.. Define requirements, perform system design, develop and test the system. Updated Project Plan

Introduction to Agile and Scrum

Quality Assurance in an Agile Environment

The Agile Manifesto is based on 12 principles:

MANUAL TESTING. (Complete Package) We are ready to serve Latest Testing Trends, Are you ready to learn.?? New Batches Info

Agile Scrum Workshop

Agile Testing. What Students Learn

Scrum Methodology in Product Testing : A Practical Approach

Agile Project Management By Mark C. Layton

How to optimize offshore software development with Agile methodologies

Sample Exam Syllabus

Lean QA: The Agile Way. Chris Lawson, Quality Manager

Zarządzanie projektem agile The Mystery of Effective IT by Bogdan Bereza blogomotion.com/mystery 1 (30) Effective IT?

Mariusz Chrapko. Before: Software Quality Engineer/ Agile Coach, Motorola, Poland. My Public Profile:

Driving Quality Improvement and Reducing Technical Debt with the Definition of Done

Water-Scrum-Fall Agile Reality for Large Organisations. By Manav Mehan Principal Agile consultant

Testing in Scrum Projects

Your Agile Team s Indispensible Asset

NokiaSiemens and Agile Development by Petri Haapio JAOO 2008

CompSci Fall 2014 Professors: Robert Duvall, Ajay Patel, Salman Azhar (rcd@cs, ajay.patel, azhar@cs)

Roles: Scrum Master & Project Manager

Product Development: From Conception to Execution. Slide 1

ISTQB in a Nutshell. ISTQB Marketing Working Group. August 2014

Agile Practitioner: PMI-ACP and ScrumMaster Aligned

Scaling Scrum. Colin Bird & Rachel Davies Scrum Gathering London conchango

Agile Tester Foundation Course Outline

Agile Systems Engineering: What is it and What Have We Learned?

Agile & PMI Project Management Mapping MAVERIC S POINT OF VIEW Vol. 7

Agile with XP and Scrum

Keywords document, agile documentation, documentation, Techno functional expert, Team Collaboration, document selection;

Scrum and Testing The end of the test role Bryan Bakker 20 maart 2012

Course Title: Planning and Managing Agile Projects

Introduction to Agile Software Development Process. Software Development Life Cycles

Accelerating software testing effectiveness using Agile methodologies..

Atomate Development Process. Quick Guide

Agile Project. Management FOR DUMME&* by Mark C. Layton WILEY. John Wiley & Sons, Inc.

TRANSFORMING TO NEXT-GEN APP DELIVERY FOR COMPETITIVE DIFFERENTIATION

T14 "TIMELINES, ARTIFACTS AND OWNERS IN AGILE PROJECTS" Hubert Smits Rally Software Development BIO PRESENTATION 6/21/2007 1:30:00 PM

XP & Scrum. extreme Programming. XP Roles, cont!d. XP Roles. Functional Tests. project stays on course. about the stories

Digital Marketplace Services Service Definition

SA Tool Kit release life cycle

Improve your team with retrospectives. Ralph van Roosmalen QA Manager / Scrum Master 11 de Spider Conferentie

Transitioning Your Software Process To Agile Jeffery Payne Chief Executive Officer Coveros, Inc.

Scrum Is Not Just for Software

Would you like to have a process that unlocks ability to learn and produce faster?

Sometimes: 16 % Often: 13 % Always: 7 %

D25-2. Agile and Scrum Introduction

Certified Scrum Developer (CSD) Course Description

UC Santa Barbara. CS189A - Capstone. Christopher Kruegel Department of Computer Science UC Santa Barbara

Agile So)ware Development

IMPLEMENTING SCRUM. PART 5 of 5: SCRUM SUCCESS METRICS

Bridging the Gap Between Acceptance Criteria and Definition of Done

Agile and Secure: Can We Be Both?

Process Methodology. Wegmans Deli Kiosk. for. Version 1.0. Prepared by DELI-cious Developers. Rochester Institute of Technology

Advanced Test Manager E-learning Course Outline

The style is: a statement or question followed by four options. In each case only one option is correct.

Sprint with Scrum and get the work done. Kiran Honavalli, Manager Deloitte Consulting LLP March 2011

Evolving Agile Testing

TSG Quick Reference Guide to Agile Development & Testing Enabling Successful Business Outcomes

Agile Software Development

Introduction to Scrum for Managers and Executives

SmartBear Software Pragmatic Agile Development (PAD) Conceptual Framework

Testing in Agile methodologies easier or more difficult?

Workshop on Agile Test Strategies and Experiences. Fran O'Hara, Insight Test Services, Ireland

Scrum a tester s perspective

Agile Software Development. Stefan Balbo / Patrick Dolemieux

How To Be Successful At An Agile Software Engineering

Case Study on Critical Success Factors of Running Scrum *

Agile and Secure Can We Be Both? Chicago OWASP. June 20 th, 2007

Software Testing Tutorial

Agile Notetaker & Scrum Reference. Designed by Axosoft, the creators of OnTime the #1 selling scrum software.

Software Testing. Knowledge Base. Rajat Kumar Bal. Introduction

A Practical Guide to implementing Agile QA process on Scrum Projects

Bringing Value to the Organization with Performance Testing

Call for Tender for Application Development and Maintenance Services

Gothenburg 2015 Jan Marek com CA Technologies Introducing Agile development methodologies to Session S601 mainframe development teams

Course Title: Managing the Agile Product Development Life Cycle

ISTQB ADVANCED LEVEL TEST ANALYST CERTIFICATE IN SOFTWARE TESTING

Scrum in a Large Project Theory and Practice

Agile Development. Redefining Management in Project Management. Neil Stolovitsky

Kanban vs Scrum Making the most of both

Agile Software Development with Scrum. Jeff Sutherland Gabrielle Benefield

Agile & Scrum: What are these methodologies and how will they impact QA/testing roles? Marina Gil Santamaria Summer 2007

Agile Project Management and Agile Practices Training; with a Scrum Project that you will do.

Collaborating for Quality in Agile Application Development From Beginning to End

Software Quality Testing Course Material

ICAgile Learning Roadmap Agile Testing Track

Agile and Secure: OWASP AppSec Seattle Oct The OWASP Foundation

Agile Metrics. It s Not All That Complicated

The Agile Factory Model vs. Waterfall at SITA

Testing in a Medical Device Context Limitations are few

LEAN AGILE POCKET GUIDE

Scrum According to Rational Unified Process

Transcription:

Testing and Scrum Fall 2007 Scrum Gathering Ralph van Roosmalen Agenda Introduction The Classical Test Approach Organization Test Documentation Test Activities Recruitment Reporting Test Automation Lessons Learned 1

Introduction Planon > Personal introduction Ralph van Roosmalen, r.vanroosmalen@planon.nl Computer Science ba,, studied at the Institute of Technology Certified Scrum master ISTQB Practitioner In Software Industry since 1997 as Software Developer, Project Manager and currently Test Manager and Scrum master at Planon. 2

Planon > Company Standard software for Integrated Workplace Management Solutions Private Dutch Company, Nijmegen, ± 300 employees, ± 50 employees in Software development. Last five years at least 23% growth in revenue, and turnover of 21 million Euro (2006). Active in The Netherlands, Germany, Belgium, UK, France, Spain, Austria, Switzerland,, Poland and the United States. Goal: to become world leader in Integrated Workplace Management Solutions in 2010 Planon > Software Development ± 50 employees Six scrum teams Five working on a product One support team All feature teams Team members are interchangeable Using Scrum since 2005 Product Owners are not part of Software Development, customer vendor relation Will engage in outsourcing development in 2008 by using distributed Scrum teams 3

Planon > Products Planon ProCenter Windows Client Legacy product, ± 15 years old, Delphi Supported by team SE Planon Self-Service Service ± 5 years old, Delphi Supported by team Net Planon Talk ± 5 years old, Delphi Supported by team Net Planon ProCenter Java Client\Web2.0 Client 3 years old, J2EE environment Supported by teams Alpha, Beta and Gamma The Classical Test Approach 4

The Classical Test Approach Test team is asked to test a project Test Manager starts with Project Test Plan Test Manager or Test Leads creates Phase Test plan Start reviewing requirements and specifications Start writing test cases by test engineers Wait for software, until it is almost too late to execute the test plans. Start test execution phase Solve problems found 1 st retesting The Classical Test Approach Complaints from the project manager, why is the testing phase taking so much time. Solve problems found during 1 st retesting 2 nd retesting Regression test and solve problems found during 2 nd retesting Deliver software Project evaluation Involvement in the next project too late: it has already started because the developers were finished with the previous project. 5

The Classical Test Approach Does not work in Scrum because There is no test team You deliver potentially shippable software each sprint There is no time to write test plans You can t t wait until the software is ready There is no time to perform extensive retesting Requirements and specifications are lean, so Reviewing of documentation cannot wait until it is finished Writing test cases based on specifications is difficult There is no test manager within Scrum The Classical Test Approach To make testing work in a Scrum environment, you have to change The organization Testing Documentation Test Activities Recruitment Reporting Regression testing approach 6

Organization Organization Testers are integrated into the teams So no separate test team Testers are always up-to to-date Testers can easily communicate with developers, technical writers and functional designers Test manager is still there, but not in the project 7

Organization Role of the tester Ask questions Bring people together Act as the team s s quality conscience Testing Tester has to earn credit with the rest of the team to fulfil this role. Testing Documentation 8

Testing Documentation Test Policy High level document, used for all projects Just 1 A4 in size Test Strategy Per Test Level, used for all projects Just 1 A4 in size per Test Level Project Test Plan Describes the deflections compared to the Test Policy and Test Strategy Testing Documentation Test Policy 1/2 A Test Policy contains the following sections: Mission Organization All testers hold the ISTQB Foundation certificate. On average, each team that builds a software product should have one specialized tester on three developers. The team is ultimately responsible for the quality of the delivered software. Testing Approach The testing approach is aligned with the values of the Agile manifesto. The testing strategy is based on the product risk matrix. An automated regression test is available for each standard Planon software product. The regression test covers at least the product s s high risks areas. 9

Testing Documentation Test Policy 2/2 Standards Quality Attributes Functionality Efficiency Test Improvement The testing process is continuously improved by applying the improvement actions from the team- and a testing retrospective that is held after each sprint. This continuously improvement is embedded in our software process, Scrum. Evaluation of testing (Performance indicators) Data is collected on test effort and defects; this data enables creating metrics to provide input for the test improvement process. Testing Documentation Test Strategy 1/2 Unit test The testing of software components. Is planned and designed early in the life cycle, the tests are based on the detailed design specifications. Objective Test the business logic and the application framework. Responsibility The team is responsible; the developers are the operators and the testers in some cases the reviewers. Risk I Risk II Risk III Risk IV Entry criteria - - - - Exit criteria Jalopy executed Find Bugs executed; no Correctness bugs and Bad Practices are left 100% tests successful Unit tests are reviewed High coverage Jalopy executed Find Bugs executed; no Correctness bugs and Bad Practices are left 100% tests successful Unit tests are reviewed High coverage Jalopy executed Find Bugs executed and no Correctness bugs are left 100% tests successful Medium coverage Jalopy executed Find Bugs executed and no Correctness bugs are left 100% tests successful Low coverage Test process A developer creates Unit tests, often they are designed by a tester. The unit tests are reviewed by a tester. A developer creates Unit tests, often they are designed by a tester. The unit tests are reviewed by a tester. A developer creates Unit tests, in some cases they are designed by a tester. Sometimes they are reviewed by a tester. A developer creates Unit tests. 10

Testing Documentation Test Strategy 2/2 Milestones deliverables Test case design techniques Type of tools that will be applied Environments in which the tests will be executed Typical non-functional test types Metrics The approach to test automation The approach to retesting and regression testing Unit tests, coverage results and Unit results. Boundary value analysis Equivalence partitioning Statement testing Cause/Effect graphing Boundary value analysis Equivalence partitioning Statement testing Boundary value analysis Statement testing Find Bugs (Code analysis tool), Emma (Coverage tool), Unit framework Nightly test environment, subset of unit tests in a continuous build environment. Efficiency. Boundary value analysis Statement testing Number of successful unit tests Statement coverage of successful unit tests Time behavior of the executed tests All tests are automated in a unit test framework, their will be no manual testing in this level. If a problem is fixed in the source, all the automated unit tests will be executed and there will be one or more new unit tests to prevent reintroduction of the problem. Testing Documentation Project Test Plan If a project does something different than described in the Test Policy or Test Strategies, this can be described in the Project Test Plan. 11

Testing Documentation Test Policy And Test Strategy Why write documentation? You say it is reverse engineering, so why write it down? Enables to discuss test approach with management and teams Used to train new employees Regularly check to see whether we are still on the right track Used in presentations to (potential) customers It s s a living document, so we adapt it when necessary. Test Activities 12

Test Activities Sprint Planning Testers are present during the sprint planning Use risk analysis to identify testing tasks Testers estimate test tasks; testing capacity is finite Test Activities Sprint Test the software Test Scrum; once a week Testers assists Developers in writing unit tests Testers review unit tests and/or specifications Testers personify the team s s quality conscience Daily priority of the team Results unit tests Keep track of problems 13

Test Activities Sprint Impact Part of the primary company process Possibility of corrupt data Number of users Risk of failure Tools and technology What kind of software: maintenance or new software Number of people involved Test Activities Sprint Risk I Extensive Exploratory Testing Structured testing, all executed test are automated Testing is done by the most experienced testers Review of Unit tests Review of the test cases on coverage and content Code review Review specifications Risk IV Exploratory Testing Some basic unit testing Testing can be done by non- specialized testers 14

Test Activities Sprint ET is very important, also at high risk items Writing test cases based on specifications is difficult ET in combination with formal techniques You can t t wait until the software is ready Testers start with automated test scripts Developers have to deliver software piece by piece Test Activities End of the Sprint Testers participate in the Sprint Retrospective Testers are present during the Sprint Review meeting Test Retrospective, retrospective about the test process Prepare the next sprint, investigate product backlog 15

Recruitment Recruitment Process Looking for an Agile Tester Interview with Development Manager or Test Manager and Recruitment Manager. Workshop Four hours a small effort for a new job Every one can say (s)he has knowledge of software testing, but can they prove it? Final interview 16

Recruitment Workshop 60 Questions about testing What does the applicant know about testing (ISTQB) Possibility to discuss testing with the applicant How does (s)he handle stress Describe at least 20 test cases to test the Font dialog in Word How creative is the applicant Does (s)he use test techniques How does (s)he describe the tests Case communicate with the developer How does (s)he handle with the stereotype developer Can (s)he set the correct priority and severity Recruitment We believe that soft skills are very important for testers in a Scrum environment Communication Flexibility Collaboration Test techniques is something you can learn 17

Reporting Reporting Test Reports No separate Management report No hidden link on a corporate website But Visible for all team members and stakeholders in a public place Simple and less is more 18

Reporting What to report? Open issues per module Open issues per team Open issues displayed in time % successful unit tests What to report depends per organization, but Report per team, not per individual Use colors: green is good and red is bad (In Western oriented countries) Keep it really simple Reporting Monitors in the hall 19

Reporting Example report Test Automation 20

Test Automation Why There is no time for extensive manual regression testing; automation is essential. Necessary because of incremental iterations and to support refactoring As Product Vendor we need to support our products for years Instantaneous feedback: all tests are run each night Makes the daily work for testers more fun Test Automation Which tools JUnit framework No testing of classes but on a higher level Used by developers to test framework and business logic QF-Test Commercial product for automating tests of Java applications with a graphical user interface Used to test our Swing client Selenium A test tool for web applications Used to test our Web2.0 client 21

Test Automation Approach Planon Test Policy: An automated regression test is available for each standard Planon software product. The regression test covers at least the product s s high risks areas. Developers and tester discuss test automation Developers builds unit tests, testers reviews them or describes the unit tests, depends on the risk and available capacity. Tester builds a QF-Test test script to touch all GUI components and test main use-case. If there is special coding needed for the Web2.0 client, the tester ter builds a Selenium test script. Developer and Testers need to communicate to have the right test automation approach! Test Automation Approach Tool smith Responsible for analyzing the automated test results Develops and maintains the automated test framework Reviews the tests scripts Prevent this role becoming a bottleneck in creating automatic test scripts 22

Lessons Learned Lessons Learned General Make no statement about the quality at the end of the sprint quality should always be good, and if not a product backlog item is not finished Quality is a team issue not the responsibility of testers Testing in Scrum is different, but you can still use the same old test techniques; use them lean 23

Lessons Learned General How to handle open (customers) issues Prioritize issues Add the issues to the product backlog If you do not want to solve an issue, cancel or close it. If you plan a stabilization phase, you are going to need it. Lessons Learned Test Manager Coach testers Review test approach of a product backlog item every sprint of every team Develop a vision on testing together with testers Develops and maintain the Test Policy, Test Strategy and Test Project Plan Increase the testing knowledge of testers; for example, hold a monthly professional circle 24

Links Agile Testing User Group, http://tech.groups.yahoo.com tech.groups.yahoo.com/group/agile-testing/ International Software Testing Qualifications Board, www.istqb.org Planon, www.planon-fm.com QFS, www.qftest.com Scrum, www.controlchaos.com Scrum User Group, http://groups.yahoo.com/group/scrumdevelopment groups.yahoo.com/group/scrumdevelopment/ Selenium, www.openqa.org TestComplete, www.automatedqa.com 25