small medium large xlarge

29 Nov 2011, 07:35
Stephen E Riley (15 posts)

In 3.5 Comments, the first example shows the line beginning with When commented out.

Given ….. #When …. And …. Then ….

What does cucumber think the And statement is linked to? The ‘When’ that was commented out or the ‘Given’ above. Does it make any difference?

04 Dec 2011, 12:04
Aslak Hellesøy (17 posts)

Cucumber does not distinguish between Given, When, Then, And, But - so this makes no difference.

You must be logged in to comment