Agile In The Industry


Agile is a methodology that has been a complete success in IT and the business since being introduced, it provides great benefits to all parties involved from the stake holders to the developers themselves.

Why choose Agile?

Simply put I believe it to be a far superior way to work on projects as opposed to the older methodologies.

  •  The team members are all involved from the beginning.

In previous popular methodologies such as waterfall, incremental etc, teams members were separately operating from one another, there would be the business analysts producing a massive requirement document which would be continuously changing, the developers would be developing a solution based off the requirements as well as producing several design/development documents which would often result in a stale product at the end of the cycle and being different from what the business expects, the testers would be waiting for the development cycle to complete before their role would commence, and the business would be excluded from the process completely.

Due to the nature of agile all the team members are interacting from the beginning, once the backlogs are assigned and the sprint planning commences it involves the business, business analysts, developers and testers all discussing what will be included into a sprint and once a sprint is decided the individual details of the cards are discussed and detailed by the business analysts, developers and testers through short meetings and the information is recorded against the card with all members understand what is required as well as the effort involved.

  • Sprints are short and time boxed.

Once again in the older methodologies money, time and resources could be greatly wasted as projects could have months or years before a product is produced, this can result in a product that is not satisfactory to the stakeholders as well as a cancelled project for various reasons with no product to show.

Following agile, typically sprints vary from 2 weeks to 4 weeks depending on the size of the team and what the organisation would prefer to follow, during this time a set of points are assigned to this sprint and those points are completed during that assigned time frame, at the end a product is produced, which is shown to the business where they can see that it is as expected and if the project is cancelled you will have a product with a subset of functions from the overall project.  This in turn will allow the stakeholders to to have a completed project at the end of the project life cycle or simply have a deployable and usable product if the project is cut short.

  • Progress is communicated regularly.

The team including the business, if they wish to participate gather generally each day at the beginning of the day to quickly run over the board of cards they are working on, this allows the team to know the progress of everyone as well as any blockers that can be addressed and what will be planned for the day, if a team member then is sick it is more simple to take over the task of that individual and allow for issues to be highlighted and resolved quicker.

  • Cards can be shared and assigned to different team members.

Typically in the older methodologies a piece of functionality is assigned to an individual and it is their responsibility to complete the task, if the person resigns, goes on holiday or has a sick day it is hard to pick up where the person left off as the task generally is not broken down into small requirements.

With agile the functionally is broken up into logical groups allowing any individual to pick up a task for a sick member as the card will generally not be a big group of work, and while that card or once that card is being worked on or completed depending on the dependencies, another team member can take on the next card which also distributes the knowledge across the team and reduces project issues if an individual resigns.

  • Clear and structured workflow.

Having a visible board in front of the entire team allows the team to always see who is working on what and where that card is in the workflow, this allows for testers to prepare the environment for after handover is completed, as well the the sprint manager to see what has been completed and update the burn chart, and developers to see what is next to be worked on based of priority.  It is a completely transparent environment making it clear for all.

An example workflow for a sprint may be as follows:

Ready –> In Progress –> Completed –> Ready for Test –> In Test –> Completed and also a Blocked column, handovers are generally performed by the business analyst when changing from Ready to In progress to the developer and tester and the Developer generally performs the handover to the tester and business analyst when changing from Completed to Ready for Test.

Avatars are created and each card will have a developer/s and tester/s avatar assigned, the clearly indicate who is working on the particular card.

  • Allows for research.

Agile allows for what is known as Spikes, these are like other cards where points are assigned and they are time boxed, this allows the assigned person to perform research and gather the required information while at the end make an informative decision based off your findings.

  • Allows for code re-factoring.

Given the nature of agile the cards assigned typically do not exceed a particular points value meaning that the assigned card is not to large.  This is turn allows for small areas of the code that are being touched to be improved and re factored.

  • Product is well tested.

Typically following agile, most organisations are embracing the TDD approach to testing, in short this is where the tests are written before the code and then the code is developed slowly fixing the errors in the tests.  This allows for a firm understanding of the requirement as well as a structure design as you want to ensure all areas you are writing can be tested resulting in the the team more confidence and a more stable product.

The product will contain unit testing and may contain BDD testing to test various business cases, as well as UI testing across various browsers to ensure that the UI will work across multiple browsers that are required.

A Continuous Integration build is normally configured where end to end testing is performed and depending on the project and requirements it will also perform performance testing.

At the end of each sprint will be a successful build where all the tests have executed and successfully completed ensuring a well tested product.

  • Product is deployable at the end of each sprint.

After each sprint a working deployable product is produced and can be used, it will not be the complete product until the project is completed but it will be a working subset of functions that have been developed and as the sprints increase so will the functionality of the product.

  • Business is aware of progress after each sprint.

For the older methodologies typically at the end of a particular milestone when you could demonstrate a working product, you could show this to the business and most of the time it would result in an overall approval but also require many changes and much rework, they would see changes that would improve the product and since much work would have been done on the product much rework would be required.

Following agile, at the end of a particular sprint a showcase is arranged and this shows the stake holders and the business the work that was assigned and completed as well as a working product in a deployed environment.  This is a fantastic way for the business to see the product and confirm that their expectations have been met and for the stake holders to raise any questions or concerns about the progress.  It is also a great way for the team to hear feedback and see and hear the approval of the business.

  • Reviews and improvements are performed after each sprint.

Typically following the older methodologies there is not really an improvement / review process of how the team is travelling and what issues are being faced, these can occur on milestones but is not often done.

Following agile, this is known as a retrospective where the team excluding the business get together and discuss what worked, what didn’t and concerns / questions they may have, from this typically a subset of the most popular based of voting is discussed and some action points a created and assigned to the relevant individual to action before the next retrospective.  This allows for continuous improvement and to reduce reoccurring issues as well as for the team to see the successes and hopefully enjoy a drink and some food together.

What typically goes wrong!

  • Scope creep
  • Cards are marked as ready when they are not
  • Team members are not across various functionality
  • Team members deviating from assigned card
  • Team members not attending meetings such as stand-ups and sprint planning
  • Builds are left broken
  • No adequate testing is performed with each card
  • Retrospectives not taken seriously
  • Lack of feedback from business at showcases, this includes praises
  • Handovers not performed in correct environments or SOE

Ideas for improvement

Get the business involved with agile.  Typically in organisations is it very common for the business to not work as an agile team.  This in turn makes it more difficult for the business analyst who spends most of their time in meeting determining if the business really do want a particular feature to be added and what details are included and missing.  Much time and cost can be saved if the business have their own agile board, this would involve them driving that particular board with the final handover occurring between the business and the business analyst.  This ensures that the business manages their own backlog and understands what the complete picture entails as well as all the relevant details that are required and detailed before approaching the business analyst.  It will also allow them to time box the sprint ensuring there is no waiting of lack of cards from the business and allow them to understand the points involved for them to complete the relevant card with relevant details.  I have seen this in practice and believe it to be a key component especially in large projects.

While the purest approach is not following in most organisations it is important to be firm on the key factors that help make agile the success that it is, many times in projects scope creep is a huge concern, typically the business will discuss a topic and decide that some additional details are missing, it is important to have a team that can push back on the additional requirements and lock down the sprint in progress once the card are decided and in play they should not have the requirements changed, ensure the scope creep is recorded on a new card and added into the backlog to be discussed during the next sprint planning, this will make the team less stressed and allow for less bugs to creep in.  Ensure handovers are correctly done with the relevant team members and that they are demonstrated in the appropriate environment. Ensure testing is completed before the handover between the developer and tester, typically this can get missed or skipped when the sprint is coming to an end, this however is wrong as it leaves a less tested and reliable product at the end of the sprint and it would be better to move cards that were not completed to the next sprint rather then to not completed cards correctly.  Review your estimation through the sprints, typically the estimates are quite wrong at the beginning of the project but as the team becomes more familiar and better accustomed with one another the estimates will become more accurate, reviewing will help with the sprint planning and estimating.  Ensure that the relevant charts are maintained, charts such as burn charts are fantastic as they allow the team to see the daily progress and improved on estimate for the next sprints. Make sure that the tools you use and the board are aligned.

Have respect for your fellow team members and be punctual to meetings.

Keep stand-ups short and if further information is required schedule a meeting after stand-up.

Ensure that testing is completed, this is one of the most important steps to ensure a successful product at the end of each sprint, include as much test into the project as possible such as unit testing, BDD testing, integration testing, end to end testing and performance testing.  Also following a process such as TDD will greatly increase the reliability of the product and ensure that you have a dedicated build tool to run your tests locally and on the build server.

Ensure team members work on different cards and functionality, this will make a difference once team members are away sick and another team member needs to continue with the card, if teams members are not always assigned to the particular functionality then you will have a team that understand the entire process and allow for better sprint planning.

Sprints can be very stressful for all involved especially if the project encounters a few hiccups along the way.  At the end of the spring during the retrospective make it enjoyable, this will encourage the team to express the true issues and successes and contribute more to the actions and participation, this could involve providing drinks and food at those meetings.

Tools for Agile

Recommended tools for an agile project involved.

JIRA which is used for keeping all the cards and details related to the cards as well as backlog and sprint information, it integrates with other tools such as source control so when code is committed the card will be updated with the commitment comments, it allows for progress reporting, points assignment, workflow between statuses and team members to reflect the physical board and team management.

For smaller projects such as home projects trello is a great way to create a virtual board and manage your progress with small teams, the only downfall is it does not record points.  However for small projects and teams that do not want the ongoing cost of maintaining a physical board then this is a great alternative.

Jenkins is a great build tool and easy to configure, it contains many plugins and a fantastic tool for executing tests.

Advertisements

2 thoughts on “Agile In The Industry

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s