1
vote
In a BDD test, should Given set a state and verify it?
When it comes to BDD tests, the "Given" step should be focused on setting up the initial state of the system under test, rather than verifying any particular behavior. Therefore, option 2 is ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
bdd × 122automated-testing × 47
cucumber × 44
selenium-webdriver × 25
specflow × 18
gherkin × 15
java × 10
test-design × 8
tdd × 8
test-automation-framework × 7
acceptance-testing × 7
python × 4
c# × 4
javascript × 4
unit-tests × 4
agile-testing × 4
development-process × 4
step-definitions × 4
behave × 4
test-management × 3
selenium2 × 3
testng × 3
functional × 3
test-planning × 3
user-acceptance-testing × 3