Chapter 4: Crafting Features Using Principles and Patterns
In the previous chapter, we learned how to write Features correctly. In this chapter, we will take it one step further. We will learn how to craft our Features. Creating something can be done by following an instruction set. Crafting something is different. It takes skill, deep knowledge of the materials and domain we're working with, and intuition derived from trial and error. In this chapter, we'll be crafting Features by applying principles and patterns in order to write high-quality, maintainable, and verifiable Features. In particular, we will cover the following:
- Behavior-Driven Development (BDD) principles
- Discerning patterns in our Features
- Patterns to avoid
After reading this ...