I have been using SpecFlow for a while, without making use of the "but" logic.
Considering the following scenario:
Scenario: Kiran logs into the system but doesn't click remember me
Given I have a username of 'Kiran'
And a password of 'password'
When I chose login
But I don't chose remember me
Then I should be logged in
And Taken to the home screen
But My username should not be remembered
Couldn't the "but" steps just be interchanged with "and"?
Is there any advantage to using "but"?
Am I right in thinking that this is purely for readability purposes?
I look forward to hearing your thoughts on this.
Many thanks, Kiran