Hello everyone!
I need your opinion on use of conjunctions e.g.
and within BDD steps. Here are two examples.
Scenario: Register for online banking
Given that Bill wants to register for online banking
When he registers himself
Then his application should be created in a pending state waiting for signature and approval
Scenario: Earning standard points from an Economy flight
Given the flying distance between Sydney and Melbourne is 878 km
And I am a standard Frequent Flyer member
When I fly from Sydney to Melbourne
Then I should earn 439 points
Is it a good writing practice? Let’s say their step definitions do not violate the single responsibility principle.
I would appreciate your comments.
Regard
Gibrail