Did any of you use behavior driven development in your projects?
The concept and tools for it sound great. But was it easy to introduce and then stick to it? Did it lead to significant and visible positive results?
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.
Yes. Used it.
Yes. Stuck to it. It was easy. All behaviors were provided by examples. No narrative text "specifications". Actual examples with actual business rationale. Since users can do this, there are no intermediary business analysts.
Yes. Without it, some bunch of business analysts would still be writing contradictory and incomplete "specifications" for the software design. With it, the users described what should happen specifically. Concrete real-world examples of behavior.
I turned the examples into unit tests. Code was written to pass the tests.
It's pretty simple once you start doing it.
If you have any idea on what you want your program to do (high level, low level, whatever), formalize it into a test before you start writing code.
Formalize it into test code. Write the code. Voila.