BDD is often used for microservices-based application development. Rather than writing code that can pass a test, as done in test-driven development, developers write code that implements the actual behavior of a particular application service and verify its business logic.