Behavior-driven style
Also known as BDD style · behavior-driven testing · behavior-driven development · BDD
An approach to describing software behavior through concrete scenarios and expected outcomes, often written as Given, When, Then.
In the real world
Given no search matches, when the user searches, then an informative empty state appears.