Hacker News new | ask | show | jobs
by nigamanth 1220 days ago
GIVEN X and Y SHOULD Z works, but don't you think that it lowers the meaning of the statement; essentially you're putting Y SHOULD Z in a conditional? Y SHOULD Z would work better, right?
1 comments

We do exactly this for the happy paths. GIVEN steps are for preconditions to get into the unhappy paths