Description
In this course, you will :
- Learn how BDD fits into an agile workflow, how to drive BDD process within a team, and the fundamentals of popular BDD frameworks such as Cucumber.
- provides examples of writing requirements specifications, defining scenarios, setting up failing tests, and optimising your code to emphasise domain-driven and object-oriented design, allowing you to get hands-on with Cucumber and its specification language, Gherkin.
- concludes with some best practises for implementing behavior-driven development while keeping the philosophy of behaviour over function in mind.
Syllabus :
1. Behaving Agilely
- Agile in context
- TDD historically
- Why is BDD so compelling?
- Case study conclusions
- Building the right thing
- Concrete example
2. Give Me an Example
- Three amigos meeting
- The three amigos in action
- Gherkin specifications
- Translate the scenario into Gherkin
3. Hands On with Cucumber
- BDD frameworks
- The emergence of Cucumber
- Set up the caffeinate project
- Define the scenario
- Model the domain
- Embracing failure
- Objectify the application
- Add a second scenario
4. Remember the Process
- Review
- Behavior before function