Skip to content
No description or website provided.
Java JavaScript HTML CSS FreeMarker XSLT Other
Find file
Failed to load latest commit information.
archetypes JBEHAVE-1159 Upgrade to Java 1.6 Apr 25, 2016
distribution JBEHAVE-1159 Upgrade to Java 1.6 Apr 25, 2016
examples JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
ides/eclipse JBEHAVE-1039: Do not perform scenarios that are not allowed by filter… Aug 16, 2014
jbehave-ant JBEHAVE-1155 Upgrade to Apache Commons Lang v3.1 from v2.6 Mar 11, 2016
jbehave-core JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
jbehave-gherkin JBEHAVE-1168 Remove sysout of story. May 2, 2016
jbehave-google [maven-release-plugin] prepare for next development iteration Feb 6, 2016
jbehave-groovy JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
jbehave-guice [maven-release-plugin] prepare for next development iteration Feb 6, 2016
jbehave-hudson-plugin JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
jbehave-jenkins-plugin JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
jbehave-maven-plugin JBEHAVE-1155 Upgrade to Apache Commons Lang v3.1 from v2.6 Mar 11, 2016
jbehave-navigator [maven-release-plugin] prepare for next development iteration Feb 6, 2016
jbehave-needle JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
jbehave-odf JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
jbehave-pico JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
jbehave-rest JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
jbehave-scala JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
jbehave-spring JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
jbehave-weld [maven-release-plugin] prepare for next development iteration Feb 6, 2016
.gitignore Added .idea to ignore list Dec 23, 2012
.travis.yml JBEHAVE-1116 Use oraclejdk8 to fix travis build Aug 10, 2015
LICENSE.txt JBEHAVE-1083: Inherit from jbehave-pom. May 29, 2015
README.md JBEHAVE-1159 Upgrade to Java 1.6 Apr 25, 2016
pom.xml JBEHAVE-1167 Upgrade to latest compatible dependencies May 2, 2016
settings.xml JBEHAVE-1076: fix travis build May 7, 2015

README.md

Build Status

JBehave

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

JBehave logo

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 Travis CI server for JBehave builds.

JDK

JDK version required:

1.7 or above to build (tested with Oracle JDK on different platforms)

The target runtime version is still 1.6 or above.

Maven

Maven version required to build: 3.0 or above.

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 Intellij IDEA out-of-the-box Maven is supported in Eclipse via m2e plugin, included out-of-the-box in some Eclipse distributions. Eclipse users may also want to load the ides/eclipse/lifecycle-mapping-metadata.xml or ignore the m2e lifecycle mappings manually.

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).

Something went wrong with that request. Please try again.