Behavior-Driven Development (BDD) è un approccio che descrive il comportamento del software in linguaggio semplice e strutturato (Given-When-Then) comprensibile sia alle persone tecniche che non tecniche — colmando il divario di comunicazione tra sviluppatori, tester e stakeholder aziendali, con test derivati da queste descrizioni.
Che cos'è il BDD
BDD focuses on describing BEHAVIOR in business-readable language:
→ write SCENARIOS in a structured natural-language format (Gherkin):
GIVEN some initial context
WHEN an action/event happens
THEN an expected outcome occurs
→ these scenarios are both DOCUMENTATION and executable TESTS
→ Bridges devs, QA, and BUSINESS stakeholders with a shared, readable language.
