Behavior Focused Test-Driven Development
Built-in quality is a key practice in agility. Testability is a crucial aspect of quality. This course teaches developers how to write behavior-focused unit tests and to develop incrementally using those tests. It emphasizes how these tests reflect the system requirements. Refactoring legacy code and adding unit tests to that legacy code is also explored. The course emphasizes hands-on practice in writing unit tests, creating mocks, and refactoring.
Software developers in Java, C#, or C++ who want to learn to create quality code.
- How to be "test-driven"
- How to write behavior focused unit tests
- When and how to use mock objects (test doubles)
- How to refactor legacy code
Ken Pugh, author of Lean-Agile Acceptance Test-Driven Development: Better Software Through Collaboration.
- How TDD helps with quality
- Creating tests first
- Running the framework
Unit test introduction
- Naming tests
- Trying out the framework
- Organizing unit tests
- A TDD exercise
- When to use
- How to create
- A mocking exercise
- Ways to minimize mocking
- Common refactorings
- A legacy code refactoring exercise
- Large exercise in TDD
Workshop materials are provided at the start of the class
ROOM SETUP AND EQUIPMENT
One computer for every two students, loaded with necessary software.
Flip chart and whiteboard for the instructor.
A projector with screen.
Experience in C#, Java, or C++
Ken Pugh, Inc. 732 Ninth Street #695, Durham, NC 27705.
Course copyright © 2017 Ken Pugh
Leslie Killeen 919-490-6335