Unit Testing for Emergent Design
Emergent Design is the disciplined process of evolving strong designs through the process of testing, coding, and refactoring within an iterative, Agile development process.
One key tool that is needed to maximize the efficiency of Emergent Design is automated unit testing. For Java developers, XUnit is a perfect solution.
Topics to be discussed include:
- obtaining and installing XUnit
- creating a test case for an existing class
- creating a test and then creating a class to satisfy it
- creating suites of tests
- unit testing and exception handling testing for expected exceptions
- handling unexpected exceptions
Learn about:
- the XUnit tool
- test-first design
- the role of testing in Emergent Design