How I use AI to test when an automation should do nothing
One of the easiest bugs to miss is a rule that runs when it should have stayed quiet.
Take this rule: when a parent issue closes, close any subtasks that are still open. I ask AI for test cases, including examples where nothing should change. Then I check the list myself and write down the expected result before running anything.
Three cases to try:
- Closed parent, open subtask → close the subtask.
- Parent still in progress → leave the subtask alone.
- Subtask already closed → leave it closed without firing another update.
Run the same examples before and after the change. Write the actual result next to the expected one. The model can suggest exceptions, but someone who knows the workflow still has to decide what should happen.
I wrote up the method here: https://danielleansley.com/ai-at-work/
- Industry
- Cross-industry
0 comments
Have a question about this workflow, or a way to improve it?
Log in to comment Create a free accountNo comments yet. Ask the first question or say what worked for you.
Posting guidelines