News for hackers. Stuff that matters.
Re:Cucumber: BDD Testing and Collaboration Tools by liampulles on Wednesday July 19, 2023 @04:36PM (#36792892)
Getting cucumber setup is consistently a huge pain in the ass.

But it's worth it - I find acceptance tests are great for testing systems from a data perspective, i.e. what comes in to our app, what we send to other apps, what we respond with, etc. The data coming in and out is ultimately what I care about ensuring.

I haven't yet seen acceptance tests that are readable by "business", but they do help remind me what the usecases in our system do.

Re:Cucumber: BDD Testing and Collaboration Tools by bradgessler on Wednesday July 19, 2023 @04:40PM (#36792945)
The same can be achieved with Rspec these days. That wasn't true when Cucumber arrived on scene, but that's changed.
Re:Cucumber: BDD Testing and Collaboration Tools by liampulles on Wednesday July 19, 2023 @04:46PM (#36793072)
Does it work with Go?
Re:Cucumber: BDD Testing and Collaboration Tools by bradgessler on Wednesday July 19, 2023 @04:59PM (#36793282)
Nope, just Ruby. Ginko (https://onsi.github.io/ginkgo/) looks the closest, but I'm not sure how close.

I can speak for RSpec and say the output of the test runs can be formatted such that it generates specifications that are as "non-technical" as Cucumber. If you scroll down a bit from https://onsi.github.io/ginkgo/#mental-model-how-ginkgo-trave... you'll see a similar output.