BDD: Using JBehave with Maven and Gradle

I’m studying Behaviour-Driven Development and evaluating some BDD frameworks for Java. The first one was JBehave.

Behave, baby!

I first made a small project, a simple calculator to multiply and divide numbers. The project uses Maven to download the dependencies and run my tests. I got it running and then I ported the same project to run using Gradle.

My conclusions are:

  • I’m a little bit used to practice TDD with JUnit. Practice BDD with JBehave required some work to get my tests running. JBehave is not so trivial as JUnit and requires some configuration.
  • After you get this first part of the work done and write one or two tests, you start to get more and more used to write tests in the story form.
  • Gradle has a better learning curve than Maven and is easier to configure.

I must be using BDD at work in the next months, but I don’t know yet if I will use BDD instead of TDD in my personal projects, since TDD seems to be more practical to me until now.

If you want to analyse my small project, it’s available at GitHub in Maven and Gradle formats.

5 thoughts on “BDD: Using JBehave with Maven and Gradle”

  1. [url=]ルイヴィトンコピー 偽物激安ヴィトンコピー 販売階のほらを輸入する資格があって、全国の第一項のナイロンのふろしき包みは傲慢なシリーズの女性を配合して包んで、高級で派手で、私達はただふろしき包みの中のハイエンドのブランドだけをしま。ハイエンドのファスナー、私達の採用の高級なファスナーは大工場のOEMからで、ファスナーが順調で滑るのは丈夫で、高品質と高享受。[/url]

  2. The way of the use as you describe that in this post this is very good effort from you that those who are want to know about the basic procedures I it they can get the all info from here. Hope you will like this post buddy.

  3. 2017年最高ブランドコピー 服、財布.
    ブランドコピー 服 、ブランド コピーネットショップとしてずっと多くのお客様に信頼頂いております。 品質よくて、 激安 の大特価でご提供します。
    ★2017年新品バッグ、財布、手帳、腕時計、ブランド 靴、ファッション 服
    ■主要取扱商品 ブランドコピー 服 バッグ、財布、腕時計、マフラー!

  4. Testing is a vital portion of any assignment, and there are several kinds of testing obtainable. I believe JBehave the best options for testing. When I compare these tools, the best resource I start was the famous blog article written by Essay Writing UK on the same topic. Although it was very helpful, during the last three years, JBehave have advanced differently and maybe we will have to do a broad adjustment.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.