- Customer satisfaction by early and continuous delivery of valuable software
- Welcome changing requirements, even in late development
- Deliver working software frequently (weeks rather than months)
- Close, daily cooperation between business people and developers
- Projects are built around motivated individuals, who should be trusted
- Face-to-face conversation is the best form of communication (co-location)
- Working software is the primary measure of progress
- Sustainable development, able to maintain a constant pace
- Continuous attention to technical excellence and good design
- Simplicity—the art of maximising the amount of work not done—is essential
- Best architectures, requirements, and designs emerge from self-organising teams
- Regularly, the team reflects on how to become more effective, and adjusts accordingly
It’s interesting that despite the first principle being; ‘Customer satisfaction by early and continuous delivery of valuable software.’ UAT, as we have traditionally known it, doesn’t fit well into an Agile delivery model. Many Agile teams dispense with UAT and rely more heavily on the Show and Tell session to get customer sign off. In Scrum, this is done in the Sprint Review Meeting and involves a demonstration of the user stories that have been delivered (according to the Definition of Done) in the sprint. One of the objectives is to elicit stakeholder feedback.This is good practice, fosters collaboration and creates a high level of discipline while also meeting the objectives of the first principle. Product demonstrations should be interactive so that stakeholders have the chance to provide feedback however, I often wonder “Is this enough?”. Participants in the ‘Show and Tell’ and the Sprint Review Meeting should include, amongst others, the Product Owner, Stakeholder and Sponsors and Customers. However, in practise, I tend to find two problems;
- Not all the relevant and required user stakeholders can regularly make the, typically 1.5 to 4 hours, meeting; and
- The show and tell doesn’t drill into the same level of detail that a thorough UAT does
There’s a third problem that not only affects the value of a product demonstration at the end of a Sprint but also affects how effective an “in-sprint” UAT phase can be. Delivery of working software doesn’t mean that an end to end business process is delivered within a single Sprint. As such it can be difficult to test business processes in a Sprint making it more challenging to meet the objectives of UAT. The Wikipedia definition of UAT fits what I believe most people think of as UAT.
“User acceptance testing (UAT) consists of a process of verifying that a solution works for the user. It is not system testing (ensuring software does not crash and meets documented requirements), but rather ensures that the solution will work for the user (i.e. tests that the user accepts the solution); software vendors often refer to this as "Beta testing".
This testing should be undertaken by a subject-matter expert (SME), preferably the owner or client of the solution under test, and provide a summary of the findings for confirmation to proceed after trial or review. In software development, UAT as one of the final stages of a project often occurs before a client or customer accepts the new system. Users of the system perform tests in line with what would occur in real-life scenarios.”
Because, as in Waterfall, locking down users and getting enough of their time to do thorough testing is difficult, trying to do this in a specific testing window in each Sprint has its challenges. Also, unless the build and deploy processes are automated, or at least slick, deploying into a separate UAT environment, also creates additional work which, if needed every sprint, can become an overhead.
Whether User Acceptance Testing is done in-sprint or has its own dedicated sprint, similar good practice will increase the efficiency and benefit of this valuable test. It’s worth noting that these are similar for Waterfall projects too.
Some ideas that might help your UAT:
- Set expectations of the desired outcomes for UAT
- Be clear to differentiate between a bug and a change request at the start – and every time some raises a bug that is a change (it will happen)
- Involve someone from the test team to assist the users – this includes system access, training (if needed), following test steps and capturing bugs
- Identify the user stories to be tested and stick to them. Spreadsheets are fine but a test management tool is more efficient
UAT should be done by the User and from their perspective. There are pros and cons to doing UAT in-sprint as part of the DOD or in a separate, dedicated sprint. To decide how best to implement UAT in Agile, we must therefore consider.
- Who are the users that will be deciding to accept or not the delivered product?
- How can we best engage and get the most from the users we need to execute the tests?
- The length of the sprint and completeness of business processes at the end of each sprint
- What do users want to see in UAT?
- What decisions will be made based on UAT results