What is an edge case?

Definition

A system designed around typical conditions may make assumptions that stop holding at unusual extremes or combinations of inputs.

Testing edge cases can show where a design needs stronger detection, a safe stop or a recovery process.

ELI5

For example, a machine that handles standard packages might jam when a package is slightly bent.

Testing that condition can show whether the machine notices the problem and stops safely.

Why test uncommon conditions?

An uncommon event can still have a major effect on reliability, especially when the system runs many times.

Does every edge case need the same response?

The response should reflect the consequences, how often the condition occurs and what recovery is feasible.

  1. Travis Kalanick beside the blue and white headline Beyond The Happy Path on black.
Definition card for edge case: What is an edge case?

An edge case is an uncommon input or operating condition that can reveal a weakness in a system.