by joergrech on 3/3/23, 9:43 AM with 73 comments
by UweSchmidt on 3/3/23, 11:14 AM
- No one wanted to "collaborate", or check a "documentation" based on the Cucumber code. Yes, it's code, it lives in an IDE, in git, and non-technical folks just generally don't deal with that world. No one in my projects ever even brought such an idea up. Non-technical folks looked at our Cucumber code as in "what tests do we have?" or "how do you guys work". Nothing in their domain.
- Why do we have programming languages and don't programm computers using natural language? You'll find out when you try BDD! You end up coding the complexities that natural language glosses over, you'll fight similar Cucumber statements trying to get some reusability and so on. In the end you wonder why you bother with the 1-2 extra layers of Cucumber anyway.
- At the same time, good test code is easily readable for semi-technical people. In testing it ends up with a lot of clicking and entering values in text fields in an application the business analyst will be familiar with. Whenever they are willing, they'll figure out Selenium code.
- Have you ever wished that you have some
Scenario: Sunday isn't Friday
Given today is Sunday
When I ask whether it's Friday yet
Then I should be told "Nope"
on top of, say, Boolean checkIfFriday() in your code? Truth is, a lot of testing code is click here, enter text there. Wrapped in the right function, organized in the right way (Page Object Model?) and it's all readable, maintainable and done in a reasonable time.I would advise against BDD/Cucumber and to be convinced otherwise I'd have to see a well though-out and realistic working example.
by config_yml on 3/3/23, 10:32 AM
Fast forward to yesterday, we were formatting product specification using ChatGPT and I thought hmm, ChatGPT would be perfect to take something vaguely structured and return it as a Cucumber spec.
And here I am today, Cucumber pops up again in my HN feed. It feels like law of attraction, butn not quite :)
by Dayshine on 3/3/23, 12:08 PM
Is saving a tiny bit of money that much more important than a smooth handover? Or are employees just not willing to work their notice periods?
It sounds like in this case it's actively going to hurt the business.
by undecisive on 3/3/23, 12:07 PM
Certainly laying someone off when they are on holiday feels like a dick move, I guess that's corporates for you. I'd be interested in Aslak's viewpoint, as I'm guessing he's still there, and may well be the source of Matt's confidence that community assets will be handed over to the community.
But I'm glad Matt is reasonably happy. I'm absolutely certain his next venture will be successful, and that SmartBear lost a very valuable asset here.
by ibejoeb on 3/3/23, 2:49 PM
by satisfice on 3/3/23, 2:25 PM
Given that Gherkin language is insultingly stilted and simplistic, when I see Cucumber, then I want to vomit.
by ChrisMarshallNY on 3/3/23, 12:44 PM
by quickthrower2 on 3/3/23, 10:51 AM
by hsuduebc2 on 3/3/23, 11:39 AM
by flerchin on 3/3/23, 2:20 PM
by pictur on 3/3/23, 5:35 PM
by fgsantoyo on 3/3/23, 2:32 PM
by fgsantoyo on 3/3/23, 2:30 PM