Live data from Hacker News

Cucumber lets you write automated tests in plain language

cucumber.io

1–10 of 76 posts

Re: Cucumber lets you write automated tests in plain language

#3

Interesting this is being brought up, I used to use this back in 2013 when developing Rails apps, I've been thinking about what a good "standard" spec language would look like in a post-LLM world. I wonder if the cucumber syntax could help here?

Cucumber was always touted as a DSL for business people.

Re: Cucumber lets you write automated tests in plain language

#5
In my misspent youth I've tried to introduce Cucumber/Gherkin a couple of different times but it's something with a deceptive promise.

The preconditions are that you have domain experts or business people interested and willing to engage in writing or reviewing these tests. Unless you have this and it's something that those people are going to sustain when the going gets tough you're just making writing tests harder for no real benefit.

Re: Cucumber lets you write automated tests in plain language

#6
IME this allows the BAs who are writing ticket requirements to also write tests. It works. The dev may have to tweak the tests to get them to compile, but it an org that is willing to spend quite a bit of money on testing (e.g. public sector) this is a format that devs and BAs can read.

Re: Cucumber lets you write automated tests in plain language

#8
post #6

IME this allows the BAs who are writing ticket requirements to also write tests. It works. The dev may have to tweak the tests to get them to compile, but it an org that is willing to spend quite a bit of money on testing (e.g. public sector) this is a format that devs and BAs can read.

IME? BA?

Re: Cucumber lets you write automated tests in plain language

#9
Fuck Cucumber.

Buried in the mess there are a couple of good concepts like it moves away for the 'busy-work' of atomic tests.

But shit like "living documentation" makes me want to vomit.

Are people dying quicker than we can teach this is bullshit? Or are people dying stupid?

The idea non-coders might ever be involved with Cucumber is also fucking retarded.

Last I used it, it was a mess, maybe it's better now. Part of that was those arrogant Selenium motherfuckers.

All this shit is why LLMs are talking over. Fucking retards with their stupid as fuck theory's about auto documentation and Selenium refusing to implement X (i forgot) on some BS 'principal'.

LLMs just get the job done, they might fuck shit up, but they are not arrogant autists about it, and LLMs don't care when they are called useless arrogant autists and double down.

Re: Cucumber lets you write automated tests in plain language

#10
post #6

IME this allows the BAs who are writing ticket requirements to also write tests. It works. The dev may have to tweak the tests to get them to compile, but it an org that is willing to spend quite a bit of money on testing (e.g. public sector) this is a format that devs and BAs can read.

IME? BA?

In My Experience, Business Analyst
Post reply on HN