Cluster Integration

Cluster integration (inter-class testing) is the integration level that tests groups of related classes working together, above unit testing but below full system integration.

Integration levels in OO testing:

  1. Basic unit testing — intra-method
  2. Unit testing — intra-class
  3. Cluster integration — inter-class

Methods on their own often don’t mean much in OO — they depend on the state of the object — so testing groups of collaborating classes is where behavior emerges.