Extreme Programming Perspectives

The main features of the GuardGenerator tool are as follows:

  • Generates guard objects from class files and does not require the source

  • Through exception handling, tells the developer what methods need to be mocked

  • Prevents tests from calling the real objects being mocked

  • Enables easy creation of mock objects implemented as anonymous classes

  • Creates mockable implementations of interfaces such as servlets

Категории