Blackbox Testing

In Blackbox Testing, the test is based on the ADT interface.

  • Test a class / method against what it is supposed to do, but without looking at how the code achieves it
  • e.g., test vector.erase() on
    • element present, not present, present multiple times,
    • vector of length zero, one, two, medium-sized length, long length