When writing a BDD scenario that is validating information on an input form, how would you list rules.
Options are:
1) A single scenario each rule 2) Scenario outline with examples for each field and rule
How do we say something is invalid that is not in a certain character set, e.g:
Given I enter a value that breaks the rule.. When I do something Then I should see an error .....
Would you generate random values that break the rule?
Thanks, James