Welcome everyone. In this video, we are going to use ChatGPT to help write acceptance criteria, specifically for Behavior Driven Development (BDD). Let’s imagine you’re on a team developing an online shopping tool and using BDD to understand the software from a user perspective.
Step one is to write our user story. For example, given a customer is logged into their account, when they add an item to their cart, then their shipping cost is automatically calculated.
To optimize the tool, we can provide additional information. Let’s write five BDD acceptance criteria for the given story. We can also specify that we want standard and expedited shipping costs to be automatically calculated.
Once we have the prompt, we can use ChatGPT to generate the acceptance criteria. The tool is pretty good at grammar, but it’s always valuable to proofread and make any necessary edits.
In the end, we have a three-step process: writing the user story, formatting it into a prompt, and generating the acceptance criteria. We can then copy the code and use it in other tools or emails.
Thank you very much!