Hi. Recently, I'm trying to dig more in the agile development, tesing, continuous integration. I have been reading about "Behaviour Driven Development" I found a library called: jBehave Why we need jBehave? why we can't use JUnit or TestNG for BDD? Thanks.
John, the most visible difference between BDD and TDD is in the vocabulary and people have written tools such as JBehave to reflect that. Whereas in JUnit 3.x we used to identify tests with the "test" prefix in a method name, in JBehave you identify them with "should".
In other words, tools such as JBehave or JDave just give you a different "language" to express your tests (or behavior definitions, or specifications) with. You can do BDD with JUnit - you just have to sprinkle the word "test" around your behavior definitions.