In reviewing a book, I was reminded about the Gilded Rose kata. It revolves around some legacy code that has no tests. You need to make some changes to the code to support a new requirement. The kata was created by Bobby Johnson (http://iamnotmyself.com/) and updated by Emily Bache (http://coding-is-like-cooking.info/)
A PDF that outlines a Gherkin approach to this kata is at: https://www.acceptancetestdrivendevelopment.com/Gilded-Rose-Kata-from-a-Gherkin-Perspective.pdf
. The formatting of WordPress doesn’t allow sufficient flexibility to present