JBehave

General

Category
Free
Tag
TDD & BDD
License
N/A
Registered
Jul 5, 2014
Favorites
0
Link
https://github.com/jbehave/jbehave-core
See also
Spek BDD Extensions
KotlinTest
AssertJ RxJava
JsonUnit
Calculon

Additional

Language
Java
Version
jbehave-4.1 (Dec 1, 2016)
Created
Jan 17, 2021
Updated
Dec 29, 2023
Owner
jbehave
Contributors
Francisco A. Lozano (flozano)
Wojtek Erbetowski (wojtekerbetowski)
Larry Shatzer, Jr. (larrys)
Rodrigo Quesada (RodrigoQuesadaDev)
Alberto Scotto (alb-i986)
Jan Galinski (jangalinski)
naveenk007
Paul Hammant (paul-hammant)
Slavo (skundrik)
Boris Pavlović (borispavlovic)
Jaroslav Sedlacek (karacz)
Brent Barker (bbarke)
Nagy László (lnagy82)
James Shaw (hertzsprung)
Emiliano Zilocchi (ezilocchi)
Marcelo Tocchetto (mtocchetto)
Steven Christou (christ66)
unelsry
Show all (68)68
Activity
Badge
Generate
Download
Source code

Advertisement

JBehave

JBehave is a BDD framework for Java and all JVM languages (Groovy, Kotlin, Ruby, Scala).

Using

Canonical information for JBehave:

  1. Web Site.
  2. Stable Reference.
  3. User mailing list
  4. Search Maven

Contributing and Developing

Please report issues, feature requests on JIRA or discuss them on the dev mailing list.

Keep an eye on the Github Actions server for JBehave builds.

JDK Version

At compile-time, JDK 11 is required to build JBehave modules

At runtime, end users can use JDK 8 or above in their own projects that use JBehave for testing.

Maven

Maven version required to build: 3.6 or above (while tested with 3.6.x it may also work with previous 3.x versions)

Some additional setup may be required to build the

Encoding

Configure IDE to use UTF-8 for all files Configure Maven by adding "-Dfile.encoding=UTF-8" to $MAVEN_OPTS

IDE Integration

Maven is supported in all major IDEs, including Intellij IDEA and Eclipse.

Building

The first time you run the Maven build, do:

mvn install -s settings.xml

After that, it is necessary to only do the following:

mvn install

Maven Build Profiles

  • default: builds all releasable modules
  • examples: builds all headless examples
  • gui: builds examples that require a GUI (i.e. non-headless) mode (separated as they do not run on CI.
  • nt: no-test, builds skipping unit-test behaviors

Maven Build Profiles used during release cycle

  • reporting: builds reports
  • distribution: builds distribution (documentation)

Note: profiles are additive and the default profile is always active.

Example Profile Usages

Build Core and all Examples

mvn install -Pexamples

Build with Reporting and Distribution

mvn install -Preporting,distribution

Building a Release with Maven

mvn release:prepare -Preporting,distribution
mvn release:perform -Preporting,distribution

Related JBehave projects

See also:

License

See LICENSE.txt in the source root (BSD).