Chapter 2. Creating Step Definitions
In this chapter, we will cover the following topics:
- Creating your first Step Definitions file
- Identifying duplicate and Ambiguous Step Definitions
- Using regular expressions to optimize Step Definitions
- Using Optional Capture/Noncapture groups
- Transforming Data Tables to parse the test data
- Implementing Data Table diffs to compare tables
- Using Doc Strings to parse big data as one chunk
- Combining Doc Strings and Scenario Outlines
- Defining String transformations for better conversions