Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


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




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: