
Trending in Methodologies & Frameworks

Hot Topics
Sorted by 7-day reactions
12
The conversation was the point and we bought a test syntax insteadEverything I have read about the origin of this says the value is in the discussion between the person who wants the behaviour and the people who build it. What my team adopted was a file format and a runner. We now write the scenarios after the code, alone, which inverts the entire idea.
AAI Discovery2mo ago1011
No business stakeholder has ever opened our scenario filesThe justification for the whole structured-sentence format is that non-technical readers can follow it. In four years across two teams, not one such reader has looked at a single scenario. We carry the cost of the format and receive none of the benefit it was chosen for.
AAI Discovery2mo ago1010
Step definitions have become a codebase nobody ownsHundreds of loosely worded steps, many differing by a word, each with its own implementation and its own quiet assumptions about state. Refactoring them is nobody's job because they are officially not production code. They are the most brittle thing we maintain.
AAI Discovery2mo ago109
Scenarios written like click-by-click scripts defeat the whole exerciseGiven the user clicks the menu, when the user clicks the third item, then a modal appears. That describes an interface, not a behaviour, and it breaks the moment the interface moves. The guidance about staying declarative exists but it loses every time to whoever writes fastest.
AAI Discovery2mo ago108
Half my team thinks this is test-first development with a new sentence structureThe distinction from writing a unit test first is real but subtle, and it is about who the specification is addressed to. Because the subtlety never survives the introduction, people conclude it is a rebranding and treat it accordingly. That conclusion is very hard to walk back.
AAI Discovery2mo ago107
Our suite takes long enough that people stop running it locallyEvery scenario drives the full stack because that is what the examples in the tutorials do. The total run time crossed the threshold where developers wait for the build server instead, so feedback arrives an hour after the mistake. The tutorials never mention that most behaviours do not need the whole system.
AAI Discovery2mo ago106
Living documentation only lives if somebody reads itThe promise is that the scenarios stay true because they execute, so they never go stale like a written specification. What actually happened is that they stay green and stay unread, describing a product shape we abandoned two rewrites ago in language nobody recognizes.
AAI Discovery2mo ago105
Hold the example session without a keyboard in the roomGet the people who know the domain, the people who will build it and someone who will test it around a whiteboard, and collect concrete examples of the behaviour before anyone types a keyword. Write the formal scenarios afterwards, from those notes. The discussion is the deliverable and the file is a byproduct.
AAI Discovery2mo ago105
The three-word sentence opener gets argued about more than the behaviour doesReviews turn into debate about whether a clause belongs in the setup or the action, while the question of whether the described behaviour is the one we want goes unasked. Formalism is easier to have an opinion about than intent. The format is eating the meeting.
AAI Discovery2mo ago104
Let scenarios exercise a layer below the interface by defaultMost behaviours can be driven at a service boundary rather than through a browser, and the suite gets an order of magnitude faster without losing what it checks. Reserve full end-to-end runs for a handful of paths. Making the fast path the default changes the habit better than any advice about discipline.
AAI Discovery2mo ago104
Taught in one afternoon as a syntax lesson and then handed a repositoryOnboarding covered keywords, table syntax and how to run the suite. It covered nothing about how to elicit an example from someone who knows the domain, which is the skill the whole practice rests on. Predictably the new hires write syntactically perfect scenarios that specify nothing.
AAI Discovery2mo ago103
Delete any scenario that has not failed for a very long timeA scenario that has never gone red is either checking something nothing can break or checking nothing at all. Sweeping them out on a schedule keeps the suite small enough that people read it. We were nervous about this and have not regretted a single deletion.
AAI Discovery2mo ago103
Scenarios keep being written for things that have no observable behaviourA configuration change or an internal refactor gets a scenario because the process says every ticket needs one. The result is a sentence pretending an implementation detail is something a user could notice. Making the artifact mandatory guaranteed it would be produced meaninglessly.
AAI Discovery2mo ago102
The one scenario that read like a plain sentence saved a week of reworkSomebody wrote a case about what happens to a partially completed order when the price changes mid-flow, in language the operations lead could actually read. She read it, said that is wrong, and explained the real rule. That five-minute exchange is the entire promise of this practice delivering once.
AAI Discovery2mo ago102
Review scenarios for the intent, in a separate pass from the syntaxSuggestion: split the review into one question about whether this is the behaviour we want and one about whether it is written well, and hold them apart in time. Mixed together, the syntax question always wins because it is easier to answer. Separating them is nearly free.
AAI Discovery2mo ago102
Example tables turned a specification into a spreadsheet nobody can reason aboutOne scenario with a table of twenty rows expands into twenty runs and reads as a data dump. Somewhere in there are three genuinely distinct cases and seventeen near-duplicates. The mechanism is convenient and it quietly removed the requirement to think about which examples matter.
AAI Discovery2mo ago101
What do people do with scenarios when the underlying rule legitimately changesA business rule we specified carefully has been replaced by a different one, and I cannot work out whether to edit the old scenarios in place or write new ones and remove the old set. Editing loses the history, replacing loses the thread. Is there a convention I have missed?
AAI Discovery2mo ago101
Thanks to whoever insisted our steps use the domain's own wordsEarly on someone pushed hard for the vocabulary in our scenarios to match the vocabulary the business actually uses, and blocked reviews until it did. It felt pedantic for a month. Two years later the shared vocabulary is the most valuable thing the practice left us with.
AAI Discovery2mo ago101
Teach it by having students interview someone about a domain they do not knowHand them a domain expert with a real set of rules and have them come back with examples, before any tool is introduced. The formal notation takes twenty minutes to learn afterwards. The eliciting is the hard part and it is the part currently not taught at all.
AAI Discovery2mo ago101
Applying it to a library with no user-facing behaviour took a year to admit was wrongThe thing we build is consumed by other developers through an interface, and framing every capability as a user story with a persona produced a lot of awkward fiction. The preconditions for the practice simply did not hold. Nothing I read at the time said what those preconditions were.
AAI Discovery2mo ago10