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.