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" | |
}, | |
"repositories": { | |
"behat/mink-deps": { "composer": { "url": "behat.org" } } | |
} | |
} |
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" } } | |
}, |
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": { | |
"php": ">=5.3.2", | |
"symfony/symfony": ">=2.0.7,<2.1.0-dev", | |
"doctrine/orm": "2.1.*", | |
"twig/extensions": "*", | |
"symfony/assetic-bundle": "*", | |
"sensio/generator-bundle": "2.0.*", | |
"sensio/framework-extra-bundle": "2.0.*", |
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": { | |
... | |
"symfony/console": "2.0.7", | |
"symfony/dependency-injection": "2.0.7", | |
"symfony/event-dispatcher": "2.0.7", | |
"symfony/translation": "2.0.7", | |
"symfony/finder": "2.0.7", |
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
<?php | |
namespace Your\MainBundle; | |
use Symfony\Bundle\FrameworkBundle\Client; | |
use Symfony\Component\HttpKernel\HttpKernelInterface; | |
class ExceptionalClient extends Client | |
{ | |
static private $catchExceptions = true; |
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
<?php | |
namespace Acme\DemoBundle\Features\Context; | |
use Behat\BehatBundle\Context\BehatContext, | |
Behat\Behat\Context\TranslatedContextInterface, | |
Behat\Behat\Exception\PendingException; | |
use Behat\Gherkin\Node\PyStringNode, | |
Behat\Gherkin\Node\TableNode; |
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 'formula' | |
def mysql_installed? | |
`which mysql_config`.length > 0 | |
end | |
def postgres_installed? | |
`which pg_config`.length > 0 | |
end |
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 'formula' | |
def mysql_installed? | |
`which mysql_config`.length > 0 | |
end | |
def postgres_installed? | |
`which pg_config`.length > 0 | |
end |
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/mink": "*", | |
"fabpot/goutte": "*", | |
"alexandresalome/php-selenium": "*", | |
"facebook/php-webdriver": "*", | |
"behat/sahi-client": "*" | |
}, |
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
watch( '(src/.*\.feature)$' ) {|md| system("./console -e=test behat -fprogress #{md[1]}") } | |
watch( '(src/.*\.php)$' ) {|md| system("phpunit -c app src") } |