Cucumber steps with variable-length lists

I’m working hard to learn both RSpec and Cucumber. The verdict is out. I like the idea of Cucumber for happy path behavior testing and RSpec for unit and functional testing. The reality with Cucumber though is that I find I spend a lot of my time constructing regular expressions and pretty abstractions. Here’s a great example of when I start to feel like I’m headed down the wrong path.

#cucumber #dev #regex #testing