-
-
Save colincalnan/1157a36f4519deaab090b86a66af1eaa to your computer and use it in GitHub Desktop.
Revisions
-
jk revised this gist
Aug 30, 2013 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,6 @@ Here you find the DSL language definition for your phrases you can use in .featu With Homebrew that gets really easy: * `brew install selenium-server-standalone` before running `bin/behat` start up the selenium server: * `java -jar /usr/local/opt/selenium-server-standalone/selenium-server-standalone-2.35.0.jar -p 4444` -
jk revised this gist
Aug 30, 2013 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,10 @@ Here you find the DSL language definition for your phrases you can use in .feature files: * `features/bootstrap/FeatureContext.php inherits from` * `vendor/behat/mink-extension/Behat/MinkExtension/Context/MinkContext.php` # Installation With Homebrew that gets really easy: * `brew install selenium-server-standalone` * `java -jar /usr/local/opt/selenium-server-standalone/selenium-server-standalone-2.35.0.jar -p 4444` -
jk revised this gist
Aug 30, 2013 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ # Important files Here you find the DSL language definition for your phrases you can use in .feature files: * `features/bootstrap/FeatureContext.php inherits from` * `vendor/behat/mink-extension/Behat/MinkExtension/Context/MinkContext.php` -
jk revised this gist
Aug 30, 2013 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ # Important files Here you find the DSL language definition for your phrases you can use in .feature files * `features/bootstrap/FeatureContext.php inherits from` * `vendor/behat/mink-extension/Behat/MinkExtension/Context/MinkContext.php` -
jk revised this gist
Aug 30, 2013 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ # Important files * `features/bootstrap/FeatureContext.php inherits from` * `vendor/behat/mink-extension/Behat/MinkExtension/Context/MinkContext.php` -
jk revised this gist
Aug 29, 2013 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,8 @@ "behat/mink-goutte-driver": "*", "behat/mink-sahi-driver": "*", "behat/mink-selenium-driver": "*", "behat/mink-selenium2-driver": "*", "behat/mink-zombie-driver": "1.0.*" }, "minimum-stability": "dev", "config": { -
jk created this gist
Aug 29, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ default: extensions: Behat\MinkExtension\Extension: base_url: http://example.tld show_cmd: open -a "Google Chrome" "%s" javascript_session: 'selenium2' browser_name: firefox # safari, googlechrome goutte: ~ selenium2: ~ 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ { "require": { "behat/behat": "2.4.*@stable", "behat/mink": "1.4.*@stable", "behat/mink-extension": "*", "behat/mink-goutte-driver": "*", "behat/mink-sahi-driver": "*", "behat/mink-selenium-driver": "*", "behat/mink-selenium2-driver": "*" }, "minimum-stability": "dev", "config": { "bin-dir": "bin/" } } 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ curl http://getcomposer.org/installer | php php composer.phar install --prefer-source ./bin/behat --init 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # features/myfeature.feature Feature: Search In order to test something As a website user I need to be able to start a test @javascript Scenario: Searching for a page with autocompletion Given I am on "/wiki/Main_Page" When I fill in "search" with "Behavior Driv" And I wait for the suggestion box to appear Then I should see "Behavior-driven development"