JGiven
JGiven is a free, open-source behavior-driven development framework for Java.
What JGiven is
JGiven is a free, open-source behavior-driven development framework for Java. It lets teams write scenarios in standard Java using a fluent, domain-specific API, without a separate scenario language or IDE plugin. Scenarios can run with JUnit or TestNG without an extra test runner. Reusable stage classes can share state, and scenarios and steps can be parameterized for data-driven testing. During execution, JGiven creates plain-text and JSON reports; its report generator uses the JSON files to produce HTML reports readable by domain experts. Maven and Gradle plugins for report generation are documented, as are integrations for Spring and Spock. Android support and JUnit 5 integration are experimental. JGiven is installed as a Java library, with JARs placed on the classpath, commonly through Maven, Gradle or Ant with Ivy. The project is published under Apache License 2.0. It was created by Jan Schäfer and is mainly developed by TNG. The maker’s news page lists version 2.0.3, released September 26, 2025.
Good
- Scenarios use standard Java and a fluent API.
- Works with JUnit or TestNG without another runner.
- Parameterized scenarios support data-driven testing.
- HTML reports can be read by domain experts.
- Published under Apache License 2.0.
Watch out
- Android support is experimental.
- JUnit 5 integration is experimental.
- Installation requires adding Java library JARs to the classpath.
Who it suits
JGiven suits Java teams that want to express behavior-driven scenarios in Java and generate reports for both developers and domain experts. Teams considering Android or JUnit 5 integrations should note their experimental status.
Verdict
JGiven offers a Java-based way to author and report on behavior-driven scenarios, with a free Apache-licensed release. Its experimental Android and JUnit 5 integrations warrant consideration when planning a project.
Plans and prices
From JGiven's own pricing page, checked 4 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| JGiven | Free | Apache License 2.0 · open-source BDD framework for Java |
The facts
Each one read from JGiven's own pages, with the date it was checked.
What it does
- Additional integrations
- The user guide documents integrations for Spring and Spock, and experimental support for Android and JUnit 5.checked 4 Oct 2026
- Build integrations
- The user guide documents Maven and Gradle plugins for generating HTML reports.checked 4 Oct 2026
- Data-driven testing
- Scenarios and steps can be parameterized for data-driven tests.checked 4 Oct 2026
- Experimental status
- The user guide marks its Android support and JUnit 5 integration as experimental.checked 4 Oct 2026
- Installation
- JGiven is installed as a Java library using JARs on the classpath, commonly through Maven, Gradle, or Ant with Ivy.checked 4 Oct 2026
- Latest listed release
- The maker’s news page lists version 2.0.3, released September 26, 2025.checked 4 Oct 2026
- License
- The project is published under the Apache License 2.0.checked 4 Oct 2026
- Maintainer
- JGiven was created by Jan Schäfer and is mainly developed by TNG, with contributions welcome.checked 4 Oct 2026
- Purpose
- JGiven is a pragmatic open-source behavior-driven development framework for Java.checked 4 Oct 2026
- Report input
- HTML reports are generated from JSON files produced during test execution.checked 4 Oct 2026
- Reports
- JGiven generates plain-text and JSON reports, and its report generator can produce HTML reports readable by domain experts.checked 4 Oct 2026
- Reusable stages
- Scenarios use reusable stage classes that can share state, helping reduce duplicated test code.checked 4 Oct 2026
- Scenario authoring
- Scenarios are written in standard Java with a fluent, domain-specific API, without requiring a separate language or IDE plugin.checked 4 Oct 2026
- Test frameworks
- Scenarios can run with JUnit or TestNG without an extra test runner.checked 4 Oct 2026
Alternatives to JGiven
- 1

Karate
Free planOpen sourceAPIExtensionLinuxmacOS8.2From $100 a year - 2
FitNesse
Free planWebAPILinuxmacOS6.7Free plan - 3

Reqnroll
Free planWindowsmacOSLinux6.7From €400 a year - 4
BddDotNet
Free planLinuxmacOSWindows6.6Free plan - 5
BDDX
Free planWeb6.6From $9.99 a month - 6

Cucumber Open
Free planAndroidAPILinuxmacOS6.6Free plan
