1"use strict";(globalThis.webpackChunkwebsite=globalThis.webpackChunkwebsite||[]).push([[2114],{37150(e,t,o){o.r(t),o.d(t,{assets:()=>d,contentTitle:()=>r,default:()=>u,frontMatter:()=>a,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"bdd/myths","title":"Myths about BDD","description":"Let\'s bust some of the most common myths and misunderstandings about BDD.","source":"@site/docs/bdd/myths.md","sourceDirName":"bdd","slug":"/bdd/myths","permalink":"/docs/bdd/myths","draft":false,"unlisted":false,"editUrl":"https://github.com/cucumber/website/blob/main/docs/bdd/myths.md","tags":[],"version":"current","lastUpdatedAt":1790228300000,"sidebarPosition":5,"frontMatter":{"sidebar_position":5},"sidebar":"docsSidebar","previous":{"title":"History of BDD","permalink":"/docs/bdd/history"},"next":{"title":"Who does what?","permalink":"/docs/bdd/who-does-what"}}');var s=o(74848),i=o(28453);const a={sidebar_position:5},r="Myths about BDD",d={},c=[{value:"Myth: You can pick and choose the practices in any order",id:"myth-you-can-pick-and-choose-the-practices-in-any-order",level:2},{value:"Myth: You can automate scenarios after the code is implemented",id:"myth-you-can-automate-scenarios-after-the-code-is-implemented",level:2},{value:"Myth: Discovery doesn't need a conversation",id:"myth-discovery-doesnt-need-a-conversation",level:2},{value:"Myth: Using Cucumber means you're doing BDD",id:"myth-using-cucumber-means-youre-doing-bdd",level:2}];function h(e){const t={a:"a",blockquote:"blockquote",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"myths-about-bdd",children:"Myths about BDD"})}),"\n",(0,s.jsx)(t.p,{children:"Let's bust some of the most common myths and misunderstandings about BDD."}),"\n",(0,s.jsx)(t.h2,{id:"myth-you-can-pick-and-choose-the-practices-in-any-order",children:"Myth: You can pick and choose the practices in any order"}),"\n",(0,s.jsxs)(t.p,{children:["Here's ",(0,s.jsx)(t.a,{href:"https://lizkeogh.com/2014/01/22/using-bdd-with-legacy-systems/",children:"Liz Keogh's take"})," on this:"]}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsx)(t.p,{children:"having conversations is more important than capturing conversations is more important than automating conversations."}),"\n"]}),"\n",(0,s.jsx)(t.p,{children:"Unless you've already done effective discovery work, trying to formulate scenarios is a waste of time."}),"\n",(0,s.jsx)(t.p,{children:"Similarly, you can't automate examples when you haven't done the work to figure out the most important examples to automate, or got your business stakeholder's feedback in how to word them."}),"\n",(0,s.jsx)(t.h2,{id:"myth-you-can-automate-scenarios-after-the-code-is-implemented",children:"Myth: You can automate scenarios after the code is implemented"}),"\n",(0,s.jsx)(t.p,{children:"Many people use Cucumber to do test automation, to check for bugs after the code has already been implemented. That's a perfectly reasonable way to do test automation, but it's not BDD."}),"\n",(0,s.jsx)(t.h2,{id:"myth-discovery-doesnt-need-a-conversation",children:"Myth: Discovery doesn't need a conversation"}),"\n",(0,s.jsx)(t.p,{children:"We see plenty of teams who try to leave the work of identifying examples and turning them into formulated scenarios to a single individual on the team."}),"\n",(0,s.jsxs)(t.p,{children:["That's not BDD. Discovery work needs to be done ",(0,s.jsx)(t.em,{children:"collaboratively"}),", bringing together representatives of the different specialists who all need to share understanding about what will be built."]}),"\n",(0,s.jsx)(t.h2,{id:"myth-using-cucumber-means-youre-doing-bdd",children:"Myth: Using Cucumber means you're doing BDD"}),"\n",(0,s.jsxs)(t.p,{children:["Just because you're using Cucumber, doesn't mean you're doing BDD. ",(0,s.jsx)(t.a,{href:"/docs/bdd",children:"There's much more to BDD than using Cucumber"}),"."]})]})}function u(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},28453(e,t,o){o.d(t,{R:()=>a,x:()=>r});var n=o(96540);const s={},i=n.createContext(s);function a(e){const t=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),n.createElement(i.Provider,{value:t},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.