I’m new to BDD and after reading through a few sources have got the following understanding:
BDD has two parts to it, Integration testing and Unit testing.
Integration testing which is done by specification tool like Cucumber.
Unit testing which is traditional junit+(jmock or mockito) etc.
Is this understanding correct?
Rgds.
I think it’s much more a way of thinking about development, rather than the structure of unit vs. integration testing. To quote from here:
From the little I’ve done with it, our BDD focus was on developing a ubiquitous language shared by the business and developers, and writing the tests in a business-comprehensible fashion.