Skip to content
SPECIFICTION
Get listed

Behat vs LightBDD

Behat

behat.org

LightBDD

github.com

Side by side

FigureBehatLightBDD
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOS—Yes
LinuxYesYes
Plans published11
Spec score · BDD Testing Tools7.7 (#10)7.5 (#17)
PurposeBehat is an open source behavior-driven development tool for writing executable software specifications in plain language.LightBDD is a behavior driven development framework for writing readable tests and tracking their execution.

Plans

Behat

  • BehatFree

Behat pricing →

LightBDD

  • Free and open sourceFree

LightBDD pricing →

In their own words

Behat

Behat is free, open-source software for writing executable specifications in plain language on Linux. It is the PHP implementation of Cucumber and runs Gherkin feature files. Those files can describe complete application behavior and be exercised through browser automation, HTTP API calls, shell commands, databases, filesystems, or PHP code. Behat is intended to work with any PHP framework or without one. Installation uses Composer or a PHAR executable, both running with PHP. An extension system can expand or replace nearly any part of the tool, with extensions covering framework integrations, browser automation, test reporting, and data fixtures. Behat does not provide its own assertion tool, so an external assertion library is needed. It supports current PHP and third-party dependency versions; Symfony 8 support begins with Behat 4.0. Each major version receives security fixes for 24 months after the next major release.

Visit behat.org

LightBDD

LightBDD is a free, open-source behavior-driven development framework for writing readable tests and tracking execution locally. Scenarios support parameterized steps, inline and tabular parameters, and shared context. The framework records step progress and execution time and supports asynchronous scenarios and steps. It generates feature reports in HTML, XML, or plain text. Listed integrations include NUnit, xUnit 2 and 3, Microsoft Test Framework, Fixie, and TUnit, while dependency-injection containers are supported. A Visual Studio extension supplies project and feature-class templates plus snippets for scenarios and composite steps. The Quick Start organizes acceptance tests as partial feature classes, separating scenario definitions from step implementations. Packages are distributed through NuGet. Listed runtime support includes .NET 5+, .NET Framework, .NET Standard, .NET Core, and UWP. LightBDD runs on Linux, macOS, and Windows under the BSD 2-Clause License. The project wiki and NuGet debug symbols provide support and diagnostics resources. A community project can synchronize LightBDD scenarios with Azure DevOps test cases.

Visit github.com