When

Description: In the context of Behavior Driven Development (BDD), ‘When’ is a key term used to describe the action that triggers a specific behavior in a system. This word is employed in the writing of tests and specifications, forming part of the structure of scenarios used to validate the functioning of an application. ‘When’ is associated with the execution of an action by the user or the system, which causes a change in the state of the system or in the user’s interaction with the application. This action can be any significant event, such as clicking a button, submitting a form, or making a query. Clarity in the writing of scenarios that include ‘When’ is crucial, as it allows developers and stakeholders to understand precisely what action is being evaluated and how the system is expected to respond. In summary, ‘When’ is an essential part of the BDD language, helping to define and structure tests in a way that aligns with the expected behaviors of the system, thus facilitating collaboration among developers, testers, and other stakeholders.

  • Rating:
  • 2.8
  • (11)

Deja tu comentario

Your email address will not be published. Required fields are marked *

PATROCINADORES

Glosarix on your device

Install
×
Enable Notifications Ok No