Skip to main content

Unit Testing Methods

In general, test code checks expected values using the following three patterns:

  • Output-based testing
  • State-based testing
  • Communication-based testing