FREEDOM251

Freedom251 › Compare

Side by side

Behave vs JGiven

Both stand on bdd testing tools. Which one you can start free with, which one lets you read the code, and what each costs once you pay.

Behave

Free plan LinuxMacWindows

Behave links readable feature scenarios with Python code and provides hooks, fixtures, and selection controls for test runs. Its documentation cautions that its comparison page may be out of date.

Visit Behave

JGiven

Free plan LinuxSelf-hosted

Choose JGiven if your Java team wants behavior-driven scenarios, local execution, and reports generated from test output. Its free, Apache-licensed plan is listed as free. Look elsewhere if you require established Android or JUnit 5 support, since both are marked experimental.

Visit JGiven

The facts

BehaveJGiven
Free planYesYes
Open sourceNot publishedNot published
Runs onLinux, Mac, WindowsLinux, Self-hosted
Lowest paid planNot publishedFree or on request
Plans publishedNone1
MakerNot publishedNot published
Websitebehave.readthedocs.iojgiven.org
On bdd testing tools#10 of 30#14 of 30

Behave: what it does well

  • Free and open source
  • Scenario outlines use example-table rows
  • Hooks and fixtures support test setup and cleanup
  • Tags can select scenarios
  • Works with Selenium WebDriver

What to know first

  • The comparison page may be out of date
  • Python step implementations are required
  • Runs locally

JGiven: what it does well

  • Write scenarios in standard Java without a separate language or IDE plugin.
  • Run scenarios with JUnit or TestNG without an extra test runner.
  • Create HTML reports from JSON output.
  • Reuse stage classes that can share state.
  • Parameterize scenarios and steps for data-driven tests.

What to know first

  • Android support is marked experimental.
  • JUnit 5 integration is marked experimental.

Alternatives to Behave Alternatives to JGiven The whole list