A Practical Guide for Testers and Agile Teams


I have worked with testers on an Agile team before and it has worked very well for both the team and the customer. In my previous role at Bank of Ireland, testers who had come from a traditional testing background worked within our teams to help ensure we had quality deliverables at the end of each iteration. It was different from traditional test approaches in that they were sitting with the team, collaborated constantly and were integral to the process of developing the solution. I never found them critical of poor quality or guilty of ring fencing roles and responsibilities. This was refreshing and without doubt a better way of ensuring quality than those I had experienced before.

Recently, here at Paddy Power, we have been interviewing for a number of open Agile tester positions. I’m pretty sure I know what a good Agile tester looks like but I have often struggled to fully articulate what that entails. I have had this book on my shelf for a couple of months and now I’m looking to it to help me fully understand what an Agile tester is.

What is Agile testing anyway?

The book starts by introducing Agile testing and comparing Agile to traditional testing. I liked the way in which the activities of programmers and testers on an Agile team were explained using the terms “Technology-Facing Tests” and “Business-Facing Tests”. It is sometimes confusing for people, who come to understand that programmers do testing, why there is a need for a tester on an Agile team and these terms help clarify that need. To quote the book directly, testers on an Agile team “..are working together with a team of people who all feel responsible for delivering the best possible quality…”

I have recently had a number of conversations about having a tester in an Agile team or having a separate test team. Again, quoting from the book, “Testers are also on the developer team, because testing is a central component of Agile software development. Testers advocate for quality on behalf of the customer and assist the development team in delivering the maximum business value.” To steal a term from Lean, I think this is the best way to ensure you “have quality built in”. This whole team approach also ensures that the “…team thinks constantly about designing code for testability.”

Ten principles for Agile testers

One of the behaviors that used to frustrate me as a developer was that testers were seen as successful when they found bugs in the software. Agile testing sees a successful tester as one who helps the team ensure the software does not contain any bugs. This book reinforces this by saying “An Agile tester doesn’t see herself as a quality police officer, protecting her customers from inadequate code”.

Lisa and Janet go on to list the ten principles as:

  • Provide continuous feedback.
  • Deliver value to the customer.
  • Enable face-to-face communication.
  • Have courage.
  • Keep it simple.
  • Practice continuous improvement.
  • Respond to change.
  • Self-organize.
  • Focus on people.
  • Enjoy.

People familiar with Agile in general will find these quite familiar.

Cultural challenges

Many of the cultural challenges discussed are similar to those faced by any team member adopting Agile for the first time. As such, I have covered many of these while reading Mike Cohn’s Succeeding With Agile. There are however a number that are either unique or more acute when faced by the testing organization.

In my experience, testing is often the poor cousin to programming. Test teams are often under funded, have limited influence and are not given a voice. Those who are given these things can fall into the trap of assuming the role of “Quality Police” which fosters antagonistic behavior.

To succeed in an Agile team, testers must become fully signed up members. For this reason, I really liked the “Tester Bill of Rights” outlined by Lisa and Janet.

Tester Bill of Rights

  • You have the right to bring up issues related to testing, quality, and process at any time.
  • You have the right to ask questions of customers, programmers, and other team members and receive timely answers.
  • You have the right to ask for and receive help from anyone on the project teams, including programmers, managers, and customers.
  • You have the right to estimate testing tasks and have these included in story estimates.
  • You have the right to the tools you need to perform testing tasks in a timely manner.
  • You have the right to expect your entire team, not just yourself, to be responsible for quality and testing.

Team logistics

As I mentioned previously, I have recently been involved in a discussion on independent test teams or a tester as part of an Agile team. This was covered very well with Lisa and Janet putting forward very compelling arguments for disbanding independent test teams and absorbing testers into the Agile team. Similar to Mike Cohn’s “Community of Practice”, it is still necessary to bring together like minded people (testers in this case) to share experiences and learn from one another.

The other points that were made around inclusive discussion, performance and rewards etc. are a little repetitive having read Cohn’s books on Agile.

Transitioning typical processes

Quite a bit of this chapter is dedicated to metrics and defect tracking. I found this very useful and reinforces some of my own ideas on the subject. For example, a defect found and fixed within an iteration should not really be tracked. The value in tracking defects is only relevant once bugs are released to the customer which typically means from user acceptance test onward.

The purpose of testing

Next we are introduced to the “Agile Testing Quadrants”. Tests are grouped into four categories that in varying degrees support the team, critique the product, are business facing or are technology facing. This is very useful identifying why a team would/should perform different types of tests. I also found it useful in justifying why certain types of tests should not test certain aspects of the product.

Technology-facing tests that support the team

Technology facing tests include unit and component tests and focus on guiding design and development. Test-Driven Development is discussed briefly and some time is given to highlight that TDD is more about design than testing. The sidebar on layered architecture is particularly relevant and added context to the discussion. A further sidebar on testing legacy systems was also very interesting and in line with my own experiences of working with legacy code and systems.

What a test should not do is just as important as what a test should do. Where do unit tests stop and component tests start? What type of tests are appropriate? These questions are answered in the context of technology facing tests.

Toolkits have evolved as people have adopted Agile and TDD. Some of these toolkits are mentioned briefly.

Business-facing tests that support the team

From my understanding, business facing tests assert that the software does what the business expects (these may be considered conditions of satisfaction or acceptance tests). In an Agile environment, these tests are added to and amended on an ongoing basis (although we limit this to clarifications during the sprint or iteration).

Business facing tests are automated (as much as possible; non-tangible qualities such aesthetics cannot be automatically tested). An important point was made that using business facing tests to drive development maintains the focus on testable code.

Toolkit for business-facing tests that support the team

The toolkit outlined by Lisa and Janet is pretty much aligned to the tools I am familiar with. Mind mapping tools are a great way to organize high level requirements while test tools such as FitFitnesseSelenium etc. provide the ability to automate business facing tests. As always, it’s important to select the right tool for the specific circumstances.

The book also touches on Behavior Driven Development (BDD) and I find that this is a subject that is receiving more and more focus. John Smart of Wakaleo, who recently worked with our development teams at Paddy Power, is a strong advocate of BDD and introduced some excellent tools and techniques to our development process.

Business –facing tests that critique the product

This testing includes Exploratory Testing, Usability Testing and User Acceptance Testing (UAT). Often, development teams are not involved in these test activities even in companies that have adopted and adapted Agile. They are often seen as an ‘over the fence’ activity where the test team takes a release and provides feedback.

That said, Exploratory testing can occur within an iteration but often only works well in a team with dedicated testers. Without dedicated testers, a development team does not have the same focus on testing in my experience. I have also been involved in projects where Usability Testing occurs in parallel using UI prototyping tools developed with the user stories.

Critiquing the product using technology-facing tests

Performance, load and security testing are often forgotten until the end but they have the ability to make or break a project. More and more you see performance testing (typically relative rather than absolute performance testing) occurring within a continuous integration environment.

There are a wide range of commercial and open source tool sets available that support performance and load testing.

I particularly liked the ‘Performance Testing from the Start’ story where Ken De Souza described how he included performance test scripts within his definition of done. This way, when he got to the point when he wanted to execute load (or stress tests) he had scripts available that had already been executing in his CI environment.

Why we want to automate tests and what holds us back

I’m not sure that there is anyone left that does not understand the need to automate tests. However, the return on investment is often overlooked. We should consider the cost/benefit of automating specific tests by thinking about the risk that is mitigated by a test, the level of volatility of the code base, the historic occurrence of bugs and the effort required to provide automated test coverage. Sometimes it is more appropriate to continue to provide manual regression testing.

Testers should also consider the level(s) at which testing should occur. Component, integration and acceptance tests interact with the system in different ways and will test different aspects of the system. Do we need to automate each type of test? Is it possible or practical to test at each level? These are questions an Agile tester must consider when deciding to automate tests.

An Agile test automation strategy

Just like delivery of features, a test automation strategy can be incremental. Consider automating the areas that cause the most pain and build out your automation iteration after iteration. There are lots of considerations that are covered well by the book but if I were to highlight one thing it is this: A regression test suite has the same characteristics as the product code base. You must build it in a way that is easy to extend and maintain. A regression test suite enables the team to continue to deliver features at a fast pace. Ensure it does not become a millstone for the team by becoming difficult to maintain, extend or manage. Bring the same rigor to building your test suite that you would to any product or feature.

Tester activities in release or theme planning

The life of a tester on an Agile team is a busy one. During planning they must decide what types of testing to undertake, what test environments are required, what test data is required and what tests should be automated. They must also contribute to the estimates for features/user stories and consider how they should be tested and estimate what size the test effort should be. In the same way that developers consider the priority and sequence of developing features, testers must also consider the priority and sequence so that the product is tested as efficiently as possible. A tester also needs to consider what is an appropriate level of testing. Usually this is based on some type of risk (life, reputation, financial etc.).

Most teams (if not all) consider acceptance testing (automated or manual) as the last step in their ‘Definition of Done’. For this reason, test reposting is also a very important communication tool that provides a detailed view of the progress made during an iteration and release. I have seen some excellent examples of using test reporting to drive the development process that include things like requirements traceability.

Iteration kickoff

One of the problems I often see testers on Agile teams have is that they will maintain that they have nothing to test until features start to be delivered. The reality is that on an Agile team a tester is involved in a more diverse set of activities than they are on a traditional team. During iteration kickoff, testers should be reviewing stories for testability and helping the customer define conditions of satisfaction. They should help the customer convey stories to the development team and work with the development team to build a shared understanding. They should be writing task cards and pro-actively seeking opportunities to help the team with their tasks by preparing test data, environments etc. There is no end of things that testers can (and should) become involved in.

Coding and testing

During coding and testing, an Agile tester continues to collaborate with the customer and the team. They do this through reporting, raising defects, triaging defects raised by the customer, pairing with programmers (that’s right, I said pairing with programmers!!) etc. They prioritize test execution and automation based on risk and return. Testers should adapt their approach during an iteration based on what they are learning about the features and their implementation. They should manage their own time while remaining aware that they are taking a ‘whole team approach’.

Wrap up the iteration

Wrapping up an iteration is no different for an Agile tester than it is for any other member of the team. They should be involved in the ‘show and tell’ and the retrospective. They should contribute as a first class member of the team and not fall into the pattern of allowing others to drive these activities. The book suggests that testers are ideally placed to demonstrate new features to the customer. I much prefer to rotate this privilege as it is often the only chance for the team to get direct feedback and hopefully praise from the customer.

Successful delivery

The aim of an Agile software team is to deliver potentially shippable product every iteration (normally 2-4 weeks). But when a potentially shippable product becomes a product that is going to be shipped there are normally a number of additional activities that need to occur. The term ‘End Game’ is used to refer to the time during which a team are making those finishing touches to a product just before it is shipped to a customer. This might include testing on different environments, Alpha and Beta testing or packaging among other things.

The activities that occur during the ‘End Game’ tend to differ significantly depending on the characteristics of the product but for me one thing remains constant. A team, product manager etc. should strive to reduce the duration of this ‘End Game’ as much as possible so that value is delivered as close as possible to when the cost is incurred.

Key success factors

The book concludes by identifying six key success factors for implementing Agile testing. I’ll enumerate them here:

  • Use the whole team approach.
  • Adopt an Agile testing mindset.
  • Automate regression testing.
  • Provide and obtain feedback.
  • Build a foundation of core practices.
  • Collaborate with customers.
  • Look at the big picture.

I don’t think I can add much here except to say that if you are an Agile team you should be striving to automate (almost) everything!

Thoughts

I had to agree with the statement that “Some people saw testers as failed programmers or second-class citizens in the world of software development”. I still see this from time to time but the flip side of the coin is that “Testers who don’t bother to learn new skills and grow professionally contribute to the perception that testing is low-skilled work.”

Having testers as an integral part of the team helps debunk this idea and develop mutual respect and appreciation between testers, programmers and business analysts.

A whole section of the book is dedicated to ‘An Iteration in the Life of a Tester’ and this section is really effective in communicating what activities a tester should become involved in during an iteration. This is a must read for any aspiring or practicing Agile tester.

John Turner
John Turner has been developing software in the financial and betting industry since 1999. Passionate about technology, John developed an interest in the practices and principles fundamental to Agile software development particularly those of Scrum and Lean. John also spends his time identifying how best to leverage the emergence of Cloud (IAAS, PAAS, SAAS) to create more Agile businesses. This has extended to investigate how best to employ NoSQL and Big Data to meet increasingly demanding data requirements.
John Turner
John has been developing software in the financial and betting industry since 1999. Passionate about technology, John developed an interest in the practices and principles fundamental to Agile software development particularly those of Scrum and Lean. John also spends his time identifying how best to leverage the emergence of Cloud (IAAS, PAAS, SAAS) to create more Agile businesses. This has extended to investigate how best to employ NoSQL and Big Data to meet increasingly demanding data requirements.

The Related Post

One of the features of using Agile methods is the opportunity for continuous improvement within a project. There are a number of improvement opportunities throughout a typical iteration or sprint─over the next few weeks I’m going to walk through a few, starting this week with the Retrospective. Retrospectives are one of the many tools in ...
Application development and delivery teams are under constant pressure to release quality features as quickly as possible. CIOs rate delivering applications faster, with higher quality and with strong control on application development as their key priorities. What’s more, supporting this type of agile environment is particularly complex to IT teams that are also tasked with supporting ...
Agile is here to stay. Once the radical alternative to Waterfall development methods, these legacy methodologies are being disrupted and replaced by Agile practices that improve time-to-market, reduce development costs, and produce higher quality software that better meets customer expectations. As the world demands more software, development teams – from scrappy startups to big corporations ...
Video narrated by MICHAEL HACKETT – Certified ScrumMaster This is Part Four of a Four Part Video on “New Roles for Traditional Testers in Agile Development” Michael shares his thoughts on “A Primer – New Roles for Traditional Testers in Agile”   LogiGear Corporation  LogiGear Corporation LogiGear Corporation provides global solutions for software testing, and ...
Build the right test platform including infrastructure, virtual lab and process. Testing embedded software is both similar and dissimilar to application software testing. The first eye-catching thing is that embedded software is significantly less visible to the end user. User interfaces are limited; there may be a console-based text menu, a simple command line interface, ...
Distinguishing these terms from each other can be rather confusing. In an attempt to go back to the basics, Nadine Schaeffer explains in detail the benefits and the necessity of using realistic situations.
Team collaboration is essential for testing embedded systems. Developing software for an embedded system often carries more risk than for general purpose computers, so testing is extremely critical. However, there still has to be a good balance between time spent on testing and time spent on development to keep the project on track. As consultants ...
In the decade since the Agile Manifesto, the movement has encouraged a number of best practices like test-driven development, user-centered design, iterative development, clean code, refactoring, continuous integration, and—arguably—cloud computing. I’m a card-carrying Agile zealot, and to me its benefits are unarguable. Is your IT organization ready to be Agile, seriously? Score yourself on these ...
When quality assurance teams and management who have adopted Agile practices first put the ideas to work, they face a significant impediment in unlearning the traditional mind-set and practices that experience in traditional practices has instilled in them. “He who knows to unlearn, learns best.” — Anonymous The following are some of the key aspects ...
Agile methods were developed as a response to the issues that waterfall and V-model methodologies had with defining requirements and delivering a product that turned out to be not what the end user actually wanted and needed. From www.agiletesting.com.au A software tester’s role in traditional software development methodology, a.k.a waterfall & the V-model can be ...
Armed with the right tool or set of tools, a development team can incorporate ALM into its Agile process and start reaping the benefits of Agile ALM. As the software development industry matures, it is devising methods for ushering products from inception to completion—a process that has come to be known by the buzzword ALM ...
LogiGear Magazine – November 2010

Leave a Reply

Your email address will not be published.

Stay in the loop with the lastest
software testing news

Subscribe