logoalt Hacker News

Yadda 3.0.0: BDD in the Age of AI Agents

35 pointsby scresswelltoday at 1:43 PM15 commentsview on HN

Comments

jesoltoday at 5:08 PM

I also think BDD is a really powerful tool for UI acceptance tests! I've now worked on adding it to two AI codebases (one engineered, another vibecoded), and so far it has been mostly positive. Having non-engineers be able to see what effects their code changes have in the UI is nice; and I find having high level API and UI tests is forcing the first layer of cleanup (standardize access to DB through models/services, and a single API SDK).

I am also really interested in standardizing the REST interface with typespec, and the database schema with DBML. I think creating these closed-loops with high-level specs is one of the best ways to make an AI project ownable by a team.

blfrtoday at 4:40 PM

Very impressive that it was done with Opus 4.8.

My experiences with Opus have been such that I always max out my Fable allotment but rarely exceed 40% of the remaining limit on Claude.

lifeisstillgoodtoday at 4:15 PM

The example of “transcibe the initial project discussion, turn that into BDD and that makes the rails to guide the AI is … either brilliant and insightful or a snake eating it’s own tail.

I think it has to be worth a try though…

scresswelltoday at 1:43 PM

Yadda 3.0.0 is out. The release modernises the JavaScript BDD library, but more interestingly, it was largely built by Claude Code and points to why executable specifications may become even more valuable in an agentic development world.

show 1 reply
krautsauertoday at 2:26 PM

"Behaviour Driven Development"

I was expecting something on Binary Decision Diagrams. SAOD is worst with TLAs.

show 3 replies
Amekedltoday at 3:58 PM

Being hard here, though: Purely dismissing it as not being worth of my time due to the example alone.