update BDD

This commit is contained in:
Jungpyo Hong 2021-07-06 23:27:01 -05:00 committed by GitHub
parent 0b6758c47f
commit f02bf860e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1349,11 +1349,27 @@ And then go to **RUN** and check **THREAD SANITIZER** 👈
## TDD
Test Driven Development
**Test Driven Development**
## BDD
Behavior Driven Development
**Behavior Driven Development**
- Encouraging collaboration across roles to build shared understanding of the problem to be solved
- Working in rapid, small iterations to increase feedback and the flow of value
- Producing system documentation that is automatically checked against the systems behaviour
### Three Steps(Iterative) in BDD
First, take a small upcoming change to the system a User Story and talk about concrete examples of the new functionality to explore, discover and agree on the details of whats expected to be done.
Next, document those examples in a way that can be automated, and check for agreement.
Finally, implement the behaviour described by each documented example, starting with an automated test to guide the development of the code.
[Behaviour-Driven Development](https://cucumber.io/docs/bdd/)
[What is BDD? An Introduction to Behavioral Driven Development](https://blog.testlodge.com/what-is-bdd/)
## Code Coverage