JBehave alternatives and similar libraries
Based on the "Testing" category.
Alternatively, view JBehave alternatives based on common mentions on social networks and blogs.
-
Apache JMeter
Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services -
TestContainers
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container. -
MockServer
MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding). -
PowerMock
PowerMock is a Java framework that allows you to unit test code normally regarded as untestable. -
Pact JVM
JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project. -
Scott Test Reporter
Never debug a test again: Detailed failure reports and hassle free assertions for Java tests - Power Asserts for Java -
pojo-tester
Java testing framework for testing pojo methods. It tests equals, hashCode, toString, getters, setters, constructors and whatever you report in issues ;)
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of JBehave or a related project?
Popular Comparisons
README
JBehave
JBehave is a BDD framework for Java and all JVM languages (Groovy, Kotlin, Ruby, Scala).
Using
Canonical information for JBehave:
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:
- jbehave-pom JBehave POM
- jbehave-web web extensions to JBehave
- jbehave-osgi OSGi extensions to JBehave
- jbehave-eclipse Eclipse integration for JBehave
- jbehave-tutorial for an example of JBehave testing of a real web application.
License
See LICENSE.txt in the source root (BSD).
*Note that all licence references and agreements mentioned in the JBehave README section above
are relevant to that project's source code only.