Download the PHP package treehouselabs/behat-common without Composer
On this page you can find all versions of the php package treehouselabs/behat-common. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download treehouselabs/behat-common
More information about treehouselabs/behat-common
Files in treehouselabs/behat-common
Package behat-common
Short Description Common Behat contexts to use in our Symfony projects
License MIT
Informations about the package behat-common
Deprecated & archived
This package is no longer maintained. It is advised to write specific contexts and step definitions, or use better maintained ones. Good starting points are:
Previous readme below 👇
Behat Common
Collection of contexts and traits for writing Behat features in your Symfony projects.
Quick install:
1. Install the package through composer
Just run composer require --dev treehouselabs/behat-common
2. Create a feature context like normal (extending RawMinkContext
)
3. Configure your behat.yml
to use these contexts:
4. Write some scenarios:
Using the DoctrineOrmContext
and SwiftmailerContext
to test a sign-up scenario:
NOTE: Both DoctrineOrmContext
and PDOContext
support the use of fakers in your fixtures (see https://github.com/fzaninotto/Faker), like so:
5. Run behat!
All versions of behat-common with dependencies
behat/behat Version ^3.0
behat/mink Version ^1.6
behat/mink-extension Version ^2.0
behat/mink-browserkit-driver Version ^1.2
behat/symfony2-extension Version ^2.0
doctrine/orm Version ^2.2
doctrine/common Version ^2.2
doctrine/data-fixtures Version ^1.1
phpunit/phpunit Version ^5.7|^6.0
swiftmailer/swiftmailer Version ^6.0
symfony/dependency-injection Version ^3.0
symfony/http-kernel Version ^3.0
symfony/property-access Version ^3.0
symfony/security Version ^3.0