dev-resources.site
for different kinds of informations.
Our adaptation of shift-left in QA
Itâs almost a parallel universe. Although part of a global organization with vast reach and huge responsibilities, Access Worldpay remains a small, autonomous unit with the freedom to choose its own working principles and methods. Not only can it adopt best practices, but it can also hack these as necessary to meet its needs. Co-lead Build Chapter, Pat Bateman explains how his teamâs approach to QA demonstrates its independent, entrepreneurial spirit.
The starting point, he says, are the objectives. Access Worldpay is expected to turn work around fast and to a consistently high standard. âPredictability is one of the big things here. We want to get stuff out of the door really quickly and if thereâs no predictability, then the business has a difficult time working with a customer.â
Goodbye Waterfall
Such imperatives immediately made the team determined to streamline its working processes. Quality assurance (QA) was a prime candidate for reform. Standard practice separated the QA function from software development. âThey were almost two different organizations,â says Pat. âSoftware developers would write the code; when it was finished, theyâd give the application to the test department for validation.â
This approach made the interplay between QA and development slow and inflexible. The long feedback cycles in the Waterfall approach to software development also made it expensive. âYouâd have these massive cycles to find out something was wrong and the expense of going back and fixing the issue was immense,â Pat says. âAnd often what you thought you were building, in terms of set requirements, had changed.â
Improving Agile
The shorter cycles within the Agile approach helped a little, but not enough, so the team explored further refinements. âEven in Agile, the QA function remained similar to the old methodology of âtest afterâ,â says Pat. âWhat weâve discovered is that you can make more change the earlier in the productâs life-cycle you go.â
This is âshift-leftâ: moving the quality assurance to the left â to the start of the cycle. It means that QAs can work alongside the product owner and the developer to help ensure that the requirement is correct and agree on the acceptance criteria. âThis makes our whole life-cycle more efficient because youâve done much more detection of fault or quality at the beginning of the requirement description,â says Pat. âSo by the time the developer starts coding, theyâre going to find fewer problems with the requirement.â
Expanding the role
The QA function also extends to exploratory testing. âQAs come up with extra hypotheses, also at the beginning, thinking about the other scenarios we havenât documented,â says Pat. âTheyâll ask âdoes it work in this situation?â and they may find some edge cases we hadnât thought about, so theyâre coming up with some requirements weâd missed.â
And, name aside, shift-left does not confine QAs to the start of the cycle. They still perform their traditional role at the other end, confirming that the software engineers have met the requirement and fulfilled the acceptance criteria. In practice, therefore, QAs are now available throughout the cycle, helping software engineers as needed to ensure that they are interpreting requirements and acceptance criteria correctly. âThe QA becomes a more important person in the delivery squad,â says Pat: âTheyâre constantly being used.â
Widening the search
Although shift-left has improved the teamâs productivity, the shake-up it involves can make recruitment somewhat tricky. For example, software developers are now expected to automate all their tests, whereas beforehand they shared that responsibility. And Pat recognizes that traditional QAs find shift-left to be âa difficult transition.â He continues: âWe are essentially asking them to change their job â to move much more to a product view of the world. Itâs very difficult to find people who understand it thoroughly.â
To mitigate this challenge, new recruits receive âlots of support on the job,â he says. Access Worldpay bring in QAs with shift-left experience to help new colleagues at the initial, refinement stage â âthey help them go through exemplar requirements and acceptance criteria, and we iterate this to keep helping them improve.â QAs and product owners also have a two-day workshop, where external experts go through the whole process and teach them how to find out whether what requirements are viable.
âA bigger impactâ
Pat is convinced that this extra effort is very worthwhile, not least for QAs themselves. âTraditionally, the QA function has been at the wrong end of the process,â he says. âYou can feel like youâre an afterthought, pushed into very tight timelines because earlier parts of the process have run over, so youâre just sat there, checking stuff and filing bugs without any feel of the process.â By contrast, he says, shift-left âplaces you at the front, with a bigger impact on the product definition; it makes you one of the most crucial people within the product youâre trying to deliver. For QAs right now, this is an exciting time.â
Featured ones: