[{"data":1,"prerenderedAt":73},["ShallowReactive",2],{"term-b\u002Fbehavior-driven-development":3,"related-b\u002Fbehavior-driven-development":59},{"id":4,"title":5,"acronym":6,"body":7,"category":40,"description":41,"difficulty":42,"extension":43,"letter":44,"meta":45,"navigation":46,"path":47,"related":48,"seo":52,"sitemap":53,"stem":56,"subcategory":57,"__hash__":58},"terms\u002Fterms\u002Fb\u002Fbehavior-driven-development.md","Behavior-Driven Development","BDD",{"type":8,"value":9,"toc":33},"minimark",[10,15,19,23,26,30],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"Behavior-Driven Development is about describing HOW your app should behave before you build it — using language that makes sense to everybody, not just coders. It's storytelling about features that also happens to be runnable tests.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"BDD is a collaborative approach to software development where business analysts, QA, and developers write specifications in Gherkin language (Given\u002FWhen\u002FThen). Tools like Cucumber or Behave parse these specs into executable tests.",[11,27,29],{"id":28},"when-youll-hear-this","When You'll Hear This",[16,31,32],{},"\"Behavior-driven development keeps our acceptance criteria directly tied to our test suite.\" \u002F \"Let's write the BDD scenarios for this feature together with the PM.\"",{"title":34,"searchDepth":35,"depth":35,"links":36},"",2,[37,38,39],{"id":13,"depth":35,"text":14},{"id":21,"depth":35,"text":22},{"id":28,"depth":35,"text":29},"testing","Behavior-Driven Development is about describing HOW your app should behave before you build it — using language that makes sense to everybody, not just cod...","intermediate","md","b",{},true,"\u002Fterms\u002Fb\u002Fbehavior-driven-development",[6,49,50,51],"Given When Then","TDD","Test Case",{"title":5,"description":41},{"changefreq":54,"priority":55},"weekly",0.7,"terms\u002Fb\u002Fbehavior-driven-development",null,"pPYjjv50JidfmWdKco6ZH2P6mfWieQrEDUdnj5KTBkE",[60,63,67,70],{"title":6,"path":61,"acronym":6,"category":40,"difficulty":42,"description":62},"\u002Fterms\u002Fb\u002Fbdd","BDD is like writing your tests in plain English so your non-coder boss can also understand them.",{"title":49,"path":64,"acronym":57,"category":40,"difficulty":65,"description":66},"\u002Fterms\u002Fg\u002Fgiven-when-then","beginner","Given When Then is AAA's cousin from the BDD world. Given = the setup situation. When = what the user\u002Fsystem does. Then = what should happen as a result.",{"title":50,"path":68,"acronym":50,"category":40,"difficulty":42,"description":69},"\u002Fterms\u002Ft\u002Ftdd","TDD means you write the test BEFORE you write the code.",{"title":51,"path":71,"acronym":57,"category":40,"difficulty":65,"description":72},"\u002Fterms\u002Ft\u002Ftest-case","A test case is one specific scenario you want to check. 'Does the login work with a correct password?' — that's a test case.",1776518259806]