Contents

Smart error messages

Error messages should be clear and easy to understand.

Background:

  • Given there is a The registry

Scenario Outline: A simple name

  • Given I try to access <Key> from the registry
  • Then I should get an error containing "<Text>"

Examples:

KeyText
:barthe bar
:smart_creationistthe smart creationist
:10_goonsthe 10 goons

Source: features/smart_error_messages.feature at commit 0e426c69, Cucumber The (MIT license).