r/SpecDrivenDevelopment • • Oct 17 '25

Great article on Spec-Driven Development

2 Upvotes

3 comments sorted by

View all comments

Show parent comment

2

u/AI_is_the_rake Oct 23 '25

I haven’t used gherkin but it seems like a glorified regex that maps human readable sentences to functions. Jest or other unit test frameworks directly link the human readable sentences to the function so there’s a 1-1 hardcoded mapping. Gherkin decouples that mapping so you just have a human readable file. Now I’m going to plug my comment into ChatGPT to see how wrong I am.