Behavior-Driven Development (BDD) je pristup koji opisuje ponašanje softvera u jasnome, strukturiranom jeziku (Given-When-Then) razumljivom i tehničkim i ne-tehničkim osobama — povezujući komunikaciju između razvijatelja, testera i poslovnih dionika, s testovima izvedenim iz tih opisa.
Što je 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.
