Created
December 31, 2011 16:03
-
-
Save everzet/1544430 to your computer and use it in GitHub Desktop.
Install & use Behat+Mink+CommonContexts with ALL dependencies through Composer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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/" } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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