News for hackers. Stuff that matters.
Re:The Tragedy of Given-When-Then by thom on Tuesday April 16, 2019 @10:17AM (#19673807)
Is the complaint literally just about aligning the text in tables of a Cucumber file because business analysts are more comfortable in Excel? Or just managing the text of your test suite across a whole project? I am struggling to parse out the underlying point of the article.
Re:The Tragedy of Given-When-Then by anentropic on Tuesday April 16, 2019 @10:44AM (#19674035)
What I understood is:

You are supposed to capture requirements in Given/When/Then form before coding, and they should be written in a way that is independent of the implementation

The complaint seems to be that what happens in practice is "the devs have taken over" the system, so Cucumber just becomes a test automation software

This has led to writing tests in Given/When/Then format which test overly specific elements of the implementation, and are often written after the fact, instead of as a way to capture requirements.

And some other stuff, but that's primarily what I got out of it.

Re:The Tragedy of Given-When-Then by tannhaeuser on Tuesday April 16, 2019 @08:08PM (#19678490)
> the devs have taken over [authoring tests]

That's what happened in the projects where I used fitnesse, jbehave, cucumber, etc. The users couldn't understand the artifacts and what they're supposed to do, and the tools were highly idiosyncratic. It ended in becoming just yet another hassle for developers.

Re:The Tragedy of Given-When-Then by pcm191 on Friday April 19, 2019 @02:38AM (#19697537)
Exactly.

Whereas using Excel for specification of calculations (by Business Users or Business Analysts) actually brings the business and developers closer together, removing the need for intermediaries. Business Users are very happy using Excel and checking calculations etc. as it tends to be their home environment.