Behavior-Driven Development (BDD) is an agile development technique, that focuses on the engagement between developers and non-technical people such as product owners from the business. The idea is pretty simple: use the same language as the business uses in order to extract the reason why the code you are building exists in the first place. BDD ends up minimizing the translation between tech language and business language, creating more synergy and less noise between information technology and business.
BDD tests describe what the application needs to do, and how it behaves. It's very common to write down these tests using pair programing between business people and developers. ScalaTest
is a BDD framework. Play framework has a great integration with ScalaTest
. Let's get started with ScalaTest
and Play right now.