This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 http://selenium.googlecode.com/files/selenium-server-standalone-2.15.0.jar | |
| jar xf selenium-server-standalone-2.15.0.jar core/scripts/atoms.js | |
| ed -- "core/scripts/atoms.js" <<-PATCH | |
| 9423s|a.|XPCNativeWrapper(a).| | |
| w | |
| q | |
| PATCH |
This file contains hidden or 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.0" | |
| } | |
| } |
This file contains hidden or 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 | |
| $watcher = new Symfony\Component\ResourceWatcher\ResourceWatcher; | |
| // track any change inside directory: | |
| $watcher->track('some/folder1', function($event) { | |
| echo '['.$event->getType().'] '.$event->getResource()."\n" | |
| }); |
This file contains hidden or 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 | |
| use Behat\Mink\Behat\Context\MinkContext; | |
| /** | |
| * Provides basic steps to test your web app from the geek perspective. | |
| */ | |
| class GeekyMinkContext extends MinkContext | |
| { | |
| /** |
This file contains hidden or 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 | |
| class Php < Formula | |
| url 'http://www.php.net/get/php-5.3.8.tar.gz/from/this/mirror' | |
| homepage 'http://php.net/' | |
| md5 'f4ce40d5d156ca66a996dbb8a0e7666a' |
This file contains hidden or 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\Exception\PendingException; | |
| use Behat\Gherkin\Node\PyStringNode, | |
| Behat\Gherkin\Node\TableNode; | |
| /** |
This file contains hidden or 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 | |
| public function registerBundles() | |
| { | |
| // ... | |
| if ('test' === $this->getEnvironment()) { | |
| $bundles[] = new Behat\MinkBundle\BehatMinkBundle(); | |
| $bundles[] = new Behat\BehatBundle\BehatBundle(); | |
| } | |
| // ... |