Showing posts with label Scrum Roles. Show all posts
Showing posts with label Scrum Roles. Show all posts

Definition of Done (DoD) in Agile

 Done Done means the coding is done, it’s been tested, installers and deployment packages have been created, user manuals have been updated, architecture docs have been updated, etc.
  1. A transparent exit criteria to decide whether an item in the product backlog is completely implemented.
  2. An input for the development team to decide how much work it can commit to deliver in a sprint.
  3. As the scrum team matures the exit-criteria become more strict.


Actually done means to finish below all mentioned activity :


Column One

User Story Clarity
User stories selected for the sprint are complete with respect to product theme, understood by the team, and have been validated by the detailed acceptance criteria.

Tasks Identified
Tasks for selected user stories have been identified and estimated by the team.

Build and package changes 
Build and package changes have been communicated to the build master. These changes have been implemented, tested and documented to ensure that they cover the features of the sprint.

Product owner approval
Each finished user story has been passed through UAT (User Acceptance Testing) and signed off as meeting requirements

Updating Product Backlog
All features not done during the sprint are added back to the product backlog. All incidents/defects not handled during the sprint are added to the product backlog.

Column Two

Environment ready
  • Development environment is ready with all third-party tools configured.
  • Staging environment is ready.
  • Continuous integration framework is in place. The build engine is configured to schedule hourly, nightly, and release builds.
  • Desired build automation is in place. Why "desired"? Because there is no end to build automation :)
  • Test data for the selected features has been created

Design complete
Design analysis is complete as per the user story or theme. UML diagrams are either created or updated for the feature under development.

You might need to prototype various components to ensure that they work together.  Wireframes and prototype have been created and approved by the respective stakeholders.

Unit test cases written
Unit test cases have been written for the features to be developed.

Documentation Ready
Documentation (Just enough or whatever the team agrees to) to support the sprint demo is ready

Pre-Release builds 
Pre release builds (hourly/nightly) have been happening and nightly build reports have been published on regular basis.
The following could/should be part of pre-release builds:
  1. Compile and execute unit test cases (mandatory)
  2. Creation of cross reference of source code
  3. Execution of automated code reviews for verification of coding rules
  4. Code coverage reports are generated
  5. Detection of duplicate source code
  6. Dependency analysis and generation of design quality matrix (static analysis, cyclomatic complexity)
  7. Auto deployment in staging environment
  8. It comes down to build automation; there is no end to what can be achieved from automated hourly, nightly builds. The team along with the product owner needs to decide on how much build automation is required.
Column Three

Code Complete
Source code changes are done for all the features in the “to do” list.” Source code has been commented appropriately.

Unit testing is done
Unit test cases have been executed and are working successfully

Code Refactoring
Source code has been refactored to make it comprehensive, maintainable and, amenable to change.

A common mistake is to not keep refactoring in the definition of done. If not taken seriously, refactoring normally spills out to next sprint or, worse, is completely ignored.

Code checkin 
  1. Source code is checked in the code library with appropriate comments added.
  2. If project is using tools which help in maintaining traceability between user stories and the respective source code, proper checkin guidelines are followed.
Code merging and tagging
Finalized source code has been merged with the main branch and tagged appropriately (merging and tagging guidelines are to be used)

Column Four

Automated Code reviews
Automated code review has been completed using the supported tools/technologies. Violations have been shared with the team and the team has resolved all discrepancies to adhere to the coding standard. (Automated code reviews should be hooked up with CI builds.)

Peer reviews
Peer reviews are done. If pair programming is used, a separate peer review session might not be required.

Code coverage is achieved
Code coverage records for each package are available and whatever the team has decided as the minimum benchmark is achieved.

Project metrics are ready
Burndown chart has been updated regularly and is up to date.

Release Build
  1. Build and packaging
  2. A Build (successful) is done using continuous integration framework. Change log report has been generated from Code Library and Release notes have been created. Deliverables have been moved to release area.
  3. Build deployment in staging environment
  4. Build deliverables are deployed in staging environment. If it is easy, this step should be automated.
Column Five

Functional testing done
Automated testing
All types of automated test cases have been executed and a test report has been generated. All incidents/defects are reported.
Manual testing
Quality assurance team has reviewed the reports generated from automation testing and conducted necessary manual test cases to ensure that tests are passing. All incidents/defects are reported.
Build issues
If any integration or build issues are found, the necessary steps are repeated and respective “Done” points are adhered to.
Regression testing done
Regression testing is done to ensure that defects have not been introduced in the unchanged area of the software.
Performance testing done
A common mistake is to not keep performance testing in the definition of done. This is an important aspect. Most performance issues are design issues and are hard to fix at a later stage.
Acceptance testing done
Each finished user story has been passed through UAT (User Acceptance Testing) and signed off as meeting requirements (see also Product Owner Approval).
Closure
All finished user stories/tasks are marked complete/resolved. Remaining hours for task set to zero before closing the task.

What Is Agile?

First, what does agile really mean?  It’s not considered a methodology, a process, or even a set of procedures.  It’s more of a conceptual development framework which allows our team to iteratively prioritize & plan the work, perform the work, and review the work.  As opposed to the classic waterfall approach, agile acknowledges that we don’t have all the answers at the start of a project. 
  1. Agile value individuals and interactions over processes and tools.
  2. Agile value working software [or any product] over comprehensive documentation.
  3. Agile value customer collaboration over contract negotiation.
  4. Agile value responding to change over following a plan.


The Sprint – 6 Early Warning Signs


  1. The goal of the Sprint explicitly changes during the Sprint.
  2. Certain changes are done that cause goal to change during the Sprint.
  3. Team composition is changed during the Sprint.
  4. Definition of done is changed during the Sprint.
  5. Sprint duration extends beyond the agreed time-box.
  6. Sprint duration is agreed to be beyond a month.
Meetings keep getting longer and there are too many of them.
If  daily standups are getting longer and longer, watch out. Something is going wrong. The team may be losing focus or getting off track. If more and more meetings are being scheduled to resolve issues, the team is likely to be struggling.
These are early warning signs of trouble. Pay attention. Keep to the 15-minute time limit for standups and use informal discussions rather than formal meetings whenever possible.
2. The team follows a hierarchy and seeks approval before acting.
At times teams will establish one or more hierarchies. For example, there may be an acknowledged system architect, a keeper of the build, or a quality guardian. It’s fine to have designated subject matter experts (SME). Problems develop when the team stops and waits for SME approval. The SME quickly becomes a bottleneck, slowing the team down.
If there is a SME on the team, that person should guide the team not look over everyone’s shoulders. A SME that is protective of his territory will only hurt the team.
3. The team keeps getting bigger.
Sometimes agile teams will add people to try and do more in less time. The strategy can work if there is enough time left in the plan for the newcomer to have a meaningful impact.
Management may conclude that if adding one more person helped, why not add another? And another? Maybe the underlying problems that are causing the team to appear understaffed should be fixed. If the team gets too large, consider splitting it into two autonomous teams.
4. Deadlines are missed and sprints are lengthened.
One solution to the problem of missing sprint deadlines is to make the sprints longer, right? It sounds reasonable but if the team is having trouble planning and executing short sprints, it will only get tougher to manage longer ones.
Missed deadlines are a symptom. There are many possible causes of the underlying problem. The key point is that if deadlines are missed, you need to dig deep and understand why.
5. The team gets bogged down in documentation and becomes resistance to change
At times, some people new to agile development may be uncomfortable with a lightweight agile approach. They may attempt to make up for that by ‘writing things down’ and trying to control change. This may also result in each sprint decomposing into analysis, design, code and test segments.
Retrospectives can help.

The Development Team Roles

Responsible for:
  1. Delivering potentially shippable product increments at the end of each Sprint.
  2. Doing the actual work in the Sprint.
Accountable for:
  1. Quality of the deliverables.

Dev Team's Role

Self-organizing, cross-functional and fully available team of 3-9 persons.

1.They are not a part of line management. There will be very few members from the management ranks but the majority of the team will be "doers." The people that actually design, build, create, and test the code. This will add to the credibility as the methodology is rolled out to the company. It is not a management initiative being forced upon everyone; it is coming from real people who will be a part of the project teams.

2. Since the team is composed of doers they actually know the ins and outs of developing in your environment. This is different than when consultants come in suggesting standard practices and disregarding the realities of a specific company. The Agile Core Team has experience with your company and they will use that experience to develop a methodology that knows what to keep and what to discard within the existing practices.

3. Remember our earlier discussion of awareness, buy-in, and ownership? What better way to create awareness than to have Agile Core Team members come from each functional area. Imagine a member being from quality and going back to the quality team and telling them what is going on with the new methodology, or a developer doing the same with the development team. Having team members from all areas will initialize awareness across the company.

The Scrum Master – Do's and Dint's

Do's
  1. Every Scrum team must have one Scrum Master.
  2. The Scrum Master should be highly available to the team.
  3. The Scrum Master should be an expert in Scrum and organization’s practices.
  4. The Scrum Master should motivate the team to try and adapt Scrum.
Dint's:
  1. A product owner is also the Scrum Master.
  2. The Scrum Master agrees to every distraction from the PO and the management during a Sprint hampering the team’s focus.
  3. The Scrum Master does not conduct the daily Scrum meeting.

The Scrum Master’s Services


Scrum Master to DEV and QA Team :
  1. Is cross-functional
  2. Is right-sized (the ideal size is seven -- plus/minus two -- members)
  3. Selects the sprint goal and specifies work results
  4. Has the right to do everything within the boundaries of the project guidelines to reach the sprint goal
  5. Organizes itself and its work
  6. Demos work results to the product owner and any other interested parties.
  7. Ensures that the team is fully functional and productive
  8. Enables close cooperation across all roles and functions
  9. Removes barriers
  10. Shields the team from external interferences
  11. Ensures that the process is followed, including issuing invitations to daily scrums, sprint reviews, and sprint planning
  12. Facilitates the daily scrums
Scrum Master to Product Owner
  1. Aids effective backlog management.
  2. Facilitates Scrum events as needed.
  3. Aids in the PO understanding and practising agility.
Scrum Master to Organization
  1. Leads and coaches Scrum adoption and empirical development.
  2. Impact s processes improving team’s productivity.
  3. Increases Scrum’s effectiveness across
Scrum Master to Development Team
  1. Coaches, even in environments where Scrum is not fully implemented.
  2. Leads team to high value deliveries.
  3. Removes impediments to team’s progress.



The Scrum Master Roles


Scrum Master Represents the management to the team.
The Scrum Master Role Responsible for:

  1. Protecting the team from distractions and focusing it on the goal of the Sprint.
  2. Ensuring that the Scrum process is followed as intended by the team.
  3. Ensuring complete cooperation between all roles and functions in the organization and the team.

The Scrum Master Role Accountable for:

  • Removing impediments preventing the team from delivering value.

The Scrum Master Role Consulted for:

  1. Any impediments hampering the team.
  2. Any doubts with the Scrum process and its interpretation.
  3. Owner of the process and practices followed by the team.
In Brief about Scrum Master Role
  1. Be a team player. The best Scrum Masters are real team players, who receive as much satisfaction from facilitating others’ success as their own.
  2. Remove impediments.the Scrum Master should do everything in his or her power to remove obstacles that are preventing the team from accomplishing its sprint goals. for EX: If developers are complaining about the high temperature in the team room, the Scrum Master must find a way to cool it down.
  3. Radiate information. Scrum Master’s primary responsibilities is to radiate information or ensure that a team’s progress and successes are highly visible to all stakeholders, including the team itself. These radiators may take the form of various Scrum artifacts, from backlogs to burn down charts.
  4. Support the Product Owner. Just as the Scrum Master removes impediments for the team, he or she also works to assist the Product Owner with various activities. These include communicating updates and impediments as well as assisting with backlog and release plan maintenance.
  5. Facilitate creativity and empowerment for the development team. he should perform up to its potential if its members feel they have the support and confidence of the Scrum Master and Product Owner behind them.
  6. Improve the team’s engineering practices and tools as needed. To fully facilitate productivity, the Scrum Master must make sure teams have the tools and know-how they need to succeed.
  7. Communicate, communicate, communicate. Yes, communication is integral to each of the above points, but it’s so essential that it’s worth mentioning again. Scrum’s success hinges on clear and frequent communication among all stakeholders. 
  8. The Scrum Master acts as a hub for all of that communication, ensuring that everyone—the Product Owner, the team, and various other stakeholders—are always up-to-speed.

The Product Owner – Must haves,Warnings and Values


The Product Owner – Must have
  1. Every Scrum team must have one product owner.
  2. The PO should be highly available to the team.
  3. The PO should have a clear vision of the product roadmap.
  4. The PO should motivate the team with this vision
The Product Owner – Warnings
  1. A product owner is also the Scrum Master.
  2. The PO does not own the product backlog and does not keep it updated.
  3. The PO is not one person but a committee.
The Product Owner – Values
  1. Visionary: Has a clear and convincing vision of the product’s roadmap.
  2. Articulate: Should be able to sell the vision to the team and motivate it to high performance.
  3. Clear: Should be transparent and client on what the customer wants and should provide correct feedback to the team on the vale delivered.
  4. Available: Should be available to the team at all times, guiding it, clarifying the needs, motivating it.

The Product Owner Role


Represents the voice of the customer and stakeholders to the team.

 Product Owner Responsible for:
  1. Defining features for the product as user-centric and value adding user-stories and prioritizing them.
  2. The release date and content of the product.
  3. Manages ROI and makes sure to deliver business benefits
  4. provides boundaries to describe the realities within which the vision must be realised
  5. Responsible for that the team builds the right product
  6. Responsible for that budget constraints are met
Product Owner Accountable for:
  1.  Managing the product backlog.
  2.  The value delivered by the product. Accepts or rejects work results.
  3.  Ensuring that the team delivers value at the end of every Sprint.
  4. Consulted by the team, and counsels them, at all times for successful delivery of value.
  5. Owner of the product backlog.

The product owner is commonly a lead user of the system or someone from marketing, product management, or anyone with a solid understanding of users, the market place, the competition, and of future trends for the domain or type of system being developed. This of course varies tremendously based on whether the team is developing commercial software, software for internal use, hardware, or some other type of product. The key is the person in this role needs to have a vision for what is to be built.

As a Product Owner on Real time Project

  1. Provide a vision for the product and communicate the project vision to the team
  2. Motivate the team to subscribe to the product vision
  3. Communicate the business benefits of the entire product and each individual feature
  4. Prioritise the product backlog
  5. Define release and sprint goals
  6. Continuously answer questions to add detail to requirements
  7. Accept/reject developed user stories at the end of the sprint (or during the sprint)
  8. Communicate about the project within the organisation (e.g. demo attendance and invites, forecasting, management reporting)
  9. Create and maintain the product backlog     
Note:(The product owner can delegate some of the work of writing user stories to a BA but the Product Owner is still responsible that the work is being done and is being done properly)



Roles in the Scrum Framework

A Famous Story to understand the roles for Agile Model

Story Name : The Chicken and Pig Fable
Story going like this : A Pig and a Chicken are walking down the road.
The Chicken says, "Hey Pig, I was thinking we should open a restaurant!".
Pig replies, "Hmm, maybe, what would we call it?".
The Chicken responds, "How about 'ham-n-eggs'?".
The Pig thinks for a moment and says, "No thanks. I'd be committed, but you'd only be involved!"
The story is presented as a riddle:
Question: In a bacon-and-egg breakfast, what's the difference between the Chicken and the Pig?
Answer: The Chicken is involved, but the Pig is committed!
Here we have two roles one is Chicken and second one Pig.
Chicken refers to : 
  • Ancillary roles 
  • Involved in success of the goal.
  • Not dedicated to it, though.
  • Managers and observers
Pig Refers to :
  • Core roles.
  • Committed to success of the goal.
  • Team, Scrum Master, Product Owner
The fable is referenced to define two types of project members by the scrum agile management system: pigs, who are totally committed to the project and accountable for its outcome, and chickens, who consult on the project and are informed of its progress.  
A successful project needs both chickens and pigs. However, given the sacrifice required of being a pig —forswearing other projects and opportunities—they can be difficult to collect. Thus, the construction of a successful project-team must ensure that the project has sufficient "pigs" and that they are empowered to drive the project in return for committing to and taking accountability for it.
For a Scrum project, Scrum Master, Product Owner, and Team are considered as people who are committed to the project while customers and executive management are considered as involved but not committed to the project.