talira

SymfonyExtension (Behat)

Behat extension that runs your contexts as Symfony services and tests the app without a server

open sourceMITfree

SymfonyExtension is a Behat extension from Friends of Behat, created by Kamil Kokot, that integrates Behat with Symfony and adds a Mink driver for Symfony applications. Behat contexts become regular Symfony services, autowired and autoconfigured, and scenarios exercise the Symfony application in process, without setting up a web server. It follows semantic versioning, with bug fixes for the latest minor release and security fixes for a year after the next one.

Problems it solves

  • run Behat scenarios against my Symfony app without starting a web server
  • inject Symfony services into my Behat contexts
  • use Mink with a Symfony application in Behat tests

Features

  • Behat contexts as Symfony services
  • autowiring and autoconfiguration of contexts
  • in-process testing of the Symfony app without a server
  • Mink driver for Symfony applications

Alternatives

The same job

These do what SymfonyExtension (Behat) does.

  1. Behat Behaviour-driven development for PHP

Compare SymfonyExtension (Behat) with the top 3