Applying Test-Driven Development and Refactoring Training Course
Customized On-site Training
Request a Quote
or call
1 (888) 357-1204
Public Classroom Training
London
(2 days)
Applying Test-Driven Development and Refactoring Training Summary
This information-packed and hands-on seminar shows developers and technical leadership how to do test-driven development (TDD) and refactoring, apply the most popular open-source frameworks for TDD and use them within a popular IDE.
Applying Test-Driven Development and Refactoring Training Objectives
TDD is powerful and practical. It’s the practice of always writing test code before the code to be tested. In addition to the obvious benefit that tests actually get written and executed for most code, a more subtle, but important, effect is that when we start by thinking very concretely—with code—in the role of a calling client to the new code, it clarifies our design.
In this course you will learn how to think in and apply test-driven design and programming, and establish it as a consistent method for your development team. You’ll learn and work with popular TDD tools, JUnit for unit testing (if Java, otherwise, NUnit for .NET or CXXTest if C++), JWebUnit for functional testing, and Jemmy for Java Swing GUI testing (if appropriate to the audience). And you’ll learn about mock objects, and libraries of mock objects, to simplify setup for TDD.
Refactoring is a disciplined design improvement skill that relies on automated unit tests created via TDD, and applies automated refactoring tools built into popular IDEs or editors, such as Eclipse, Slick Edit, emacs, and Visual Studio.
In addition, you will learn to use the increasingly popular Fit and Fitnesse open-source acceptance testing frameworks that are integrated with a Wiki Web or spreadsheets for table-driven testing.
Audience for Applying Test-Driven Development and Refactoring Training
Developers, chief architects, test engineers, technical leaders.
Applying Test-Driven Development and Refactoring Training Prerequisites
Skill with an object-oriented language.
Applying Test-Driven Development and Refactoring Training Outline
Test-Driven Development
- Writing the tests first
- Testing in an iterative and agile method
- Categories of tests: unit, acceptance, …
- TDD tools and frameworks
- Testing into different architectural layers
- JUnit, NUnit, …
- Practice with XUnit
- Practice with HTTPUnit
- Other acceptance testing frameworks
- Introduction
- Code smells
- Refactorings, including Extract Method, Introduce Explaining Variable, and dozens more
- Practice
- Introduction
- Setting up the text environment
- Mock object libraries
- Practice
- Wiki Webs
- Fit
- Fitnesse
- Practice
- Tools for GUI testing
- Practice with Jemmy