r/softwaretesting • • Apr 30 '23

SmartBear Has Stopped Supporting Cucumber

https://mattwynne.net/new-beginning
38 Upvotes

11 comments sorted by

15

u/JoeDeluxe Apr 30 '23

I've never seen cucumber or bdd done right. It's either the specs are a mess of "then and then and thens" or the "business" doesn't give a rats ass about contributing to or even reading spec files or test automation reports. Having "living documentation" is nice, but I see it really as a side effect of a proper bdd implementation, and not a driving reason to switch to bdd from just old fashioned procedural test cases.

11

u/queehace001 Apr 30 '23

You forgot one, "We are implementing codeless/BDD solution so anyone can participate", then only devs have access to repos because of security concerns.

5

u/bdfariello Apr 30 '23

I'll also say, it's been a red flag lately doing interviews when someone says they have X years of Cucumber experience. I'd say at least half of people that I spoke to in the past couple months that mention it haven't written a line of actual software during their jobs. Creating a test case using keywords doesn't mean a damn thing if you don't actually know how to write the code to actually implement the keywords. Working on a BDD framework had the potential to be very career limiting. That's especially true if you ever intend to interview somewhere that doesn't use a BDD framework at all.

I'll also add that I've talked to some very good candidates who had Cucumber experience, but those are the ones that typically joined a company where it was in use, and not candidates that actually like using it

1

u/2ERIX Apr 30 '23

So, for functional testing I think it’s pretty terrible, but for unit or even api testing I think it has some value, I just dont advocate on its behalf.

The company I work for has a “everyone must be an engineer” attitude and then there are pockets using Cucumber and it drives me nuts because of the lack of skills and knowledge about technical problem solving that comes along with it.

2

u/bdfariello May 01 '23

BDD in API testing is absolutely not a sensible thing to do in my experience, especially for things like data driven tests with significant numbers of permutations for all the possible parameters and input bodies that API calls can require.

Unit testing, it makes even less sense. TDD should be used at the unit testing level, where you're testing individual function behavior, not full feature behavior.

I'd argue that in general all you need is acceptance criteria defined by the non technical folk (which can be in a gherkin syntax if they want to write them like that), then you create a test plan and mark which ones you can automate and which require manual execution.

2

u/2ERIX May 01 '23

So… just terrible for all use cases then 😂

2

u/hitchdev May 01 '23 edited May 01 '23

BDD in API testing is absolutely not a sensible thing to do in my experience, especially for things like data driven tests with significant numbers of permutations for all the possible parameters and input bodies that API calls can require.

What do you mean by this? Is this about stuff like the fact that the "id" and "timestamp" fields will return a different UUID/timestamp on every test run?

I think BDD works really well for API calls. I find it easier to have a discussion about a specific JSON snippet than a vague high level description.

2

u/jfp1992 May 01 '23

The last two places implemented automation, I skipped bdd. It seemed like a useless step. I made sure the tests were very readable so even if I am showing them to a business user they'll be able to see what's going on.

Unless they're really stupid and can't look past self. And read the method name lol

3

u/CroakerBC May 01 '23

Just repeating myself from /r/QualityAssurance , since this seems to have surfaced in both places at once:

All respect to Matt (and this sucks for him, absolutely, and I hate it), this is both relatively old news and not especially seismic.

While the dedicated Cuke team was always an amazing resource, they've been whittled away at since the '19 acquisition. Fortunately the project itself is open source, and the community has broadly stepped up and been actively engaged in getting things to keep improving since then.

Do I think the loss of the last of the dedicated team hurts the tool? Sure. Whether it hurts it materially is another matter - though I hope one of the sponsors picks it up and runs with it, I don't think that's necessary.

This is news from the end of February, and it's now the end of April; I can see releases going into the framework since then, and it seems to be ticking along.

The thousands of businesses using it definitely aren't going to switch without a viable alternative that meets the same business goals, so I suspect the reports of Cuke's death are greatly exaggerated.

1

u/Friendly_Budget_3947 May 22 '23

My team wanted me to use Cucumber so the business can easily read what the automation framework is testing. I wonder sometimes, when my test suite finally catches up to dev, if they'll actually want to write feature files for me to script out, or if they'll just ignore it entirely and render Cucumber a redundancy in the framework.

0

u/2ERIX Apr 30 '23

Best thing I have heard them do in a long time.