How long have we been talking? > 1 minute? Should there be a full integration test?
I read a book of cucumber - she suggested that you cheat as much as possible for your GIVEN steps, in order to reduce the time required to start something. ACTIVE steps describe the past.
I have an application form, which consists of 5 sections and can be submitted only after completion of all sections. I wanted to test some functions that occur when submitting the application, initially my GIVEN statements controlled the web page through Selenium to fill in all 5 sections of the form so that I could submit, I changed this to one SQL command to set the application status for all sections. It chopped a minute.
What I tested was submission behavior, filling out section tests is done elsewhere.
AndyM source share