Test design and test implementation with GenAI · Question 59 of 60

Which assignment is correct in a Gherkin scenario?

1 answer is correct. Hard Created with AI

Show answer

Answer

  • C Given: starting situation, When: action, Then: expected result

Explanation

A scenario first describes the state before the test, then the triggering event and finally the expected behavior, for example: Given a filled basket, When a valid voucher is redeemed, Then the total price drops.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications