behavior driven development (bdd)
BDD is an extension of TDD.
We use similar approach for development.
But there is a difference: Instead of writing tests,
we write behaviors/scenario.
We create scenarios from the end-users perspective.
Gherkin language is used.
1- Business side: FEATURE FILES
Where we write scenarios in Gherkin language;
Given, When, Then, And, But, *
Understandable for non-technical team members.
Everything runs in the order of the feature files
2- Implementation side: STEP DEFINITIONS
We create JAVA classes to implement actual JAVA+SELENIUM+JUNIT...
code to make it synchronized with browser
Step definitions is where we implement the actual code.