4 ms·
Most of the time I've spent with Cucumber in actual work projects has been wasted on trying to write steps to wrap idiosyncratic UI patterns which aren't handle
by chazu 11y ago
Most of the time I've spent with Cucumber in actual work projects has been wasted on trying to write steps to wrap idiosyncratic UI patterns which aren't handled out of the box - of course its been years since then and the UI on that project was particularly horrendous.
That being said, I do find a lot of value in being able to translate text from a story - "As a user I should see <X>" directly into a test.
- ajmurmann 11y agoYou can easily get very close to this with Capybara: 'expect(page).to have(:css, ".article table th td", text: " hello world ")' Save functionality but you won't have to support that silly regex abstraction layer. If this is still not human readable enough, I would still recommend writing your own DSL on top of Capybara rather than matching to regexes like Cucumber does.