Part 2: Refactoring Tests and Application Code
Now that you’ve learned about and practiced the test-driven development workflow, it’s time to focus on practices and strategies that will keep your automated tests and application code neat and tidy. The chapters in this part will provide you with guidance on creating elegant and maintainable automated test suites.
This part has the following chapters:
- Chapter 7, Tidying up Test Suites
- Chapter 8, Creating Matchers to Simplify Tests
- Chapter 9, Extracting Logic Out of the Framework
- Chapter 10, Test-Driving API Endpoints
- Chapter 11, Replacing Behavior with a Side-By-Side Implementation
- Chapter 12, Using Component Mocks to Clarify Tests
- Chapter 13, Adding Cucumber Tests