Skip to content

Instantly share code, notes, and snippets.

@everzet
Created December 31, 2011 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save everzet/1544430 to your computer and use it in GitHub Desktop.
Save everzet/1544430 to your computer and use it in GitHub Desktop.
Install & use Behat+Mink+CommonContexts with ALL dependencies through Composer
{
"require": {
"behat/behat": ">=2.2.2",
"behat/mink": ">=1.3.2",
"behat/common-contexts": "*"
},
"repositories": {
"behat/mink-deps": { "composer": { "url": "behat.org" } }
},
"config": { "bin-dir": "bin/" }
}
#!/bin/sh
wget -nc http://getcomposer.org/composer.phar
php composer.phar install
# after that, just run behat with:
# bin/behat
#
# this bin/behat already knows where to find MinkContext,
# CommonContexts and all their dependencies automagically ;-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment