FREEDOM251

Freedom251 › Compare

Side by side

Behat vs Godog

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.

Behat

Free plan Linux

Behat offers a flexible, free way to turn plain-language specifications into executable checks for PHP projects. Users need to choose an external assertion library and account for the project's stated security-support window.

Visit Behat

Godog

Free plan APISelf-hosted

Choose Godog for Go projects that use Gherkin and want executable behavior specifications alongside their test documentation. It offers local execution, concurrency, and `go test` integration at no cost. Teams relying on the `godog` CLI should account for its deprecated status and use the recommended `go test` route.

Visit Godog

The facts

BehatGodog
Free planYesYes
Open sourceNot publishedNot published
Runs onLinuxAPI, Self-hosted
Lowest paid planFree or on requestFree or on request
Plans published11
MakerNot publishedNot published
Websitebehat.orggithub.com
On bdd testing tools#9 of 30#13 of 30

Behat: what it does well

  • Runs Gherkin specifications as executable tests.
  • Feature files can cover browser and API behavior.
  • Works with any PHP framework or without one.
  • Composer and PHAR installation are documented.
  • Extensions cover frameworks, reporting and fixtures.

What to know first

  • Behat has no built-in assertion tool.
  • The software is provided without warranty.
  • Security fixes for each major version last 24 months after the next major release.

Godog: what it does well

  • Runs suites through the standard `go test` command.
  • Gherkin scenarios use Given, When and Then steps.
  • Automatically tests specifications to keep documentation current.
  • Configured concurrency runs scenarios concurrently.
  • MIT-licensed and free to use locally.

What to know first

  • The `godog` CLI is deprecated.
  • The API may change before version 1.0.0.

Alternatives to Behat Alternatives to Godog The whole list