search for: stepmatchers

Displaying 2 results from an estimated 2 matches for "stepmatchers".

2007 Oct 14
40
Step matchers
I think we all know that the readability of steps isn''t great right now, and in fact there''s a very recent thread that discusses just that. It was that recent thread that prompted me to explore this a bit. The basic idea is that you define step matchers, which have a regex, and then you match step names against that regex. Kind of tough for me to explain so I''ll just
2007 Oct 24
3
changes to Story Runner steps
Hi all, The following only affects people who have bravely begun to experiment with the 2 day-old plain text story runner and definable groups of steps. For those who fit that bill, I just committed a few changes that will require you to make changes to your code. The StepMatchers class is now the StepGroup class. The step_matchers methods on PlainTextStoryRunner and StepGroup is now just steps. So instead of defining a group like this: # old - no longer supported matchers = StepMatchers.new do step_matchers do |add| add.given(...) {...} end end # new steps = Step...