6 comments

  • jesol1 hour ago
    I also think BDD is a really powerful tool for UI acceptance tests! I&#x27;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&#x2F;services, and a single API SDK).<p>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.
    • stevefan199922 minutes ago
      Yep, I&#x27;ve been experimenting Playwright with CucumberJS and Deno for the last 3 months and it&#x27;s super effective
  • lifeisstillgood2 hours ago
    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.<p>I think it has to be worth a try though…
    • jaggederest5 minutes ago
      I&#x27;ve been doing that for almost a year and I feel like I&#x27;m taking crazy pills when I talk about it, because it works so well.<p>I transcribe most product meetings, turn them into a transcript, run that through an accuracy pass with a bunch of context (mostly vocabulary definitions etc), and use that as a starting doc for generating issues and tests. There are apps that do it fully end to end now I think.
  • blfr1 hour ago
    Very impressive that it was done with Opus 4.8.<p>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.
  • scresswell4 hours ago
    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.
    • ur-whale2 hours ago
      One suggestion: my bet is that close to no one knows what the acronym BDD stands for. The first comment on this post is in fact exactly about that.<p>I&#x27;d consider explaining what BBD is at the start of the front page of your project.
      • davepeck1 hour ago
        It may be an age thing. 15-ish years ago, TDD, BDD, Red&#x2F;Green Testing, and a whole bunch of others were hot topics. They’re still useful approaches to know about, even if some (like, IMO, BDD) didn’t really stand the test of time.
      • cbsmith2 hours ago
        &quot;my bet is that close to no one knows what the acronym BDD stands for&quot;.<p>That&#x27;s disconcerting. Software engineers ought to know.
      • ashleyn1 hour ago
        As a woman my first thought was Body Dysmorphic Disorder.
      • citizenkeen1 hour ago
        I’ll take that bet, since we ask about it in our interview questions.
        • jaggederest4 minutes ago
          What&#x27;s the hit rate? Give us some data, if you can :)
  • krautsauer3 hours ago
    &quot;Behaviour Driven Development&quot;<p>I was expecting something on Binary Decision Diagrams. SAOD is worst with TLAs.
    • bossyTeacher2 hours ago
      This is probably HN&#x27;s tech background speaking. In the enterprise dev world, everyone knows what BDD means just like every dev out there knows what OOP means.
    • WalterGR3 hours ago
      What is SAOD? Do you mean SOAD?
      • contradictioned2 hours ago
        Severe Acronym Overload Disorder.<p>Funny enough, Google&#x27;s overview box also suggests soad: &quot;SAOD (or SOAD) most commonly refers to the rock band System of a Down&quot;
        • WalterGR2 hours ago
          Thanks. (That’s what it suggested for me as well. Clarifying that I meant in the context of software, it suggested a misspelling of SOAD - Service-Oriented Analysis and Design.)
  • Amekedl2 hours ago
    Being hard here, though: Purely dismissing it as not being worth of my time due to the example alone.