Testing with Cucumber – best practices
blog.codeship.io
Testing with Cucumber – best practices
1–7 of 7 posts
Re: Testing with Cucumber – best practices
#2Re: Testing with Cucumber – best practices
#3Re: Testing with Cucumber – best practices
#4Re: Testing with Cucumber – best practices
#5Best practise is to not use cucumber! By the time yoi have wanked away the afternoon writing stories, the client found a real developer who already coded the feature, leaving you - the failed liberal arts major, and now failed developer sobbing over your hipster hot beverage of choice.
Just the same, I've never seen a place use Cucumber as an integral part of their workflow.
Re: Testing with Cucumber – best practices
#6I remember the battles with myself for writing tests, how should I test, and the step definitions.
With cucumber there's just too much plumbing, not only that you need to figure out the test, you need to figure out how to set up the test and the definitions.
It never worked for me, it was just never in a state of flow like Rspec or any other testing framework for that matter, too much magic going on.
Today, I do 100% Rspec on the projects I work on, of course test-unit when I am working on rails, but other then that, I have never seen anyone using Cucumber outside of tutorials and just testing things out.
I think Thoughtbot are using Cucumber if I remember from their blog posts, for me it didn't work.
That being said, I love seeing companies share knowledge, especially in the form of videos, the editing time and recording time are not something that most companies want to invest. For that you deserve a kudos from me.
Re: Testing with Cucumber – best practices
#7Best practise is to not use cucumber! By the time yoi have wanked away the afternoon writing stories, the client found a real developer who already coded the feature, leaving you - the failed liberal arts major, and now failed developer sobbing over your hipster hot beverage of choice.