Behaviour Driven Development (BDD) with Cucumber/SpecFlow
Practical BDD: business analysis, development and test automation in one
Enroll immediately
Increasingly, you see software development teams going agile. Here it is important that you arrive at good specifications and tests in a faster and better way. BDD helps teams in this process. BDD is a ‘shift left’ oriented approach where the business analysts, testers and developers together draw up the specifications/requirements in their domain-specific language based on User Stories. This collaboration and working through examples creates a “shared understanding”. The prepared specifications/requirements are then also the tests that must be performed. Eventually, these prepared tests can be used directly to automate with tools like Cucumber and SpecFlow.
Example of a BDD feature / scenario
With Java/Cucumber and/or C#/SpecFlow
The test-first approach ensures that tests are set up first by the business analyst, tester and developer in their domain-specific language before any programming is done. Therefore, the final developed system must meet the tests already established. After all, those tests must be able to be performed successfully. The shared understanding ensures that it is clear to the business analyst, tester and developer exactly what a User Story must satisfy. Because of the test-first approach, the exact specifications and requirements are clear to everyone beforehand.
Topics covered during this training are:
Describing the expected behaviour of the system
Applying Gherkin scenarios (given ..., when ..., then ...).
Automating Gherkin scenarios.
Who is this training for?
This two-day course is designed for analysts, developers and testers. Prior knowledge required for this course is that the participant must be able to write basic Java and/or C# code.
What to expect.
You will learn where BDD supports and provides direction in analyzing requirements and how this analysis parallels the writing of test scripts
You will learn the ideas behind and the practical benefits and pitfalls of the Three Amigos and we will go very hands-on with writing good Gherkin / Feature files that you can use immediately in practice
You will learn how to keep documentation "living" and learn to automate both Feature Files and Scenarios with Java/Cucumber and/or C#/SpecFlow
Enroll