QamoosTech
Testing & QualityTest designIntermediate

Edge Case

PronunciationEJ KAYS

Definition

An unusual situation at the limits of normal use, such as an empty list, a very long name, or a negative number.

Where you hear it

Code reviews and test planning.

Examples

  • What happens in the edge case where the cart is empty?
  • The function crashes on an edge case with zero items.
  • The edge case with a discount above 100 percent was not covered by any test.

Common mistake

Testing only the happy path. Many production bugs come from edge cases.

Don't confuse with

An edge case tests extreme values within design limits, while a corner case happens when multiple extreme conditions occur simultaneously.

Say it at work

  • In a meeting or chatLet us add a test to cover this edge case before we merge the pull request.
  • In an email or ticketCould you please ensure that all edge cases for negative inputs are handled properly in the validation logic?