Behavior-driven development (BDD)
It is a software development process based on test-driven development (TDD).
This process combines the general techniques and principles of TDD with ideas from domain-driven design and object-oriented analysis and design.
It is a specialized version of test-driven development which focuses on behavioral specification of software units.
BDD cycle
1. Define a test set for the unit first.
2. Implement the unit
3. Finally, verify that the implementation of the unit makes the tests succeed.
BDD specifies that tests of any unit of software should be specified in terms of the desired behavior of the unit.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.