What is BDD example?

What is BDD example?

Behavior Driven Development (BDD) is a method of specifying a feature’s behaviour using examples written in plain language.

You obtain your tests while also defining your requirements through examples. When the examples are automated, these specs become executable.