I hereby claim:
- I am swestcott on github.
- I am swestcott (https://keybase.io/swestcott) on keybase.
- I have a public key whose fingerprint is 17EC 4D56 26E5 745D AF62 62DA 4492 8641 2442 4477
To claim this, I am signing this object:
public class BuildAllAction implements RootAction { | |
private static final Logger LOGGER = Logger.getLogger(BuildAllAction.class.getName()); | |
public String getIconFileName() { | |
return "doesnotexist"; | |
} | |
public String getDisplayName() { | |
return "Build All"; |
simon@mac:MinkExtension-example (master)$ bin/behat | |
Feature: Search | |
In order to see a word definition | |
As a website user | |
I need to be able to search for a word | |
Scenario: Searching for a page that does exist # features/search.feature:6 | |
Given I am on "/wiki/Main_Page" # InheritedFeatureContext::visit() | |
When I fill in "search" with "Behavior Driven Development" # InheritedFeatureContext::fillField() | |
And I press "searchButton" # InheritedFeatureContext::pressButton() |
default: | |
context: | |
extensions: | |
Behat\MinkExtension\Extension: | |
base_url: http://en.wikipedia.org/ | |
default_session: selenium2 | |
javascript_session: selenium2 | |
selenium2: | |
browser: chrome | |
wd_host: foo:bar@ondemand.saucelabs.com/wd/hub |
saucelabs: | |
context: | |
extensions: | |
Behat\MinkExtension\Extension: | |
selenium2: | |
browser: iexplore | |
wd_host: username:password@ondemand.saucelabs.com/wd/hub | |
capabilities: { "platform": "VISTA", "browser": "iexplore", "version": "9"} |
<?php | |
/** | |
* @Given /^"([^"]*)" enters the chat room$/ | |
*/ | |
public function entersTheChatRoom($user) | |
{ | |
if(is_null($this->defaultDriver)) { | |
$this->defaultDriver = $this->getSession()->getDriver(); | |
} |
<?php | |
/** | |
* @When /^"([^"]*)" posts a message$/ | |
*/ | |
public function postsAMessage($user) | |
{ | |
// Ensure message is unique | |
$this->message = 'Selenium Test ' . microtime(true); | |
$this->getSession($user)->getPage()->fillField("chat", $this->message); |
$ bin/behat | |
Feature: Simple Calculator | |
Scenario: Addition # features/SimpleCalculator.feature:3 | |
[2013-02-03 16:33:34] FeatureContext.INFO: Initialised calculator ["stdClass"] [] | |
Given I have a calculator # FeatureContext::iHaveACalculator() | |
[2013-02-03 16:33:34] AdditionContext.INFO: Adding values ["2","3"] [] | |
When I add together "2" and "3" # AdditionContext::iAddTogetherAnd() | |
[2013-02-03 16:33:34] FeatureContext.INFO: Asserting expected result "5" equals "5" [] [] | |
Then the result should be "5" # FeatureContext::theResultShouldBe() |
var lazy = require("lazy"), | |
fs = require("fs"); | |
new lazy(fs.createReadStream('./data.txt')) | |
.lines | |
.forEach(function(line) { | |
console.log(line.toString()); | |
} | |
); |
Scanning dependencies of target double-conversion | |
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/bignum-dtoa.cc.o | |
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/bignum.cc.o | |
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/cached-powers.cc.o | |
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/diy-fp.cc.o | |
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/double-conversion.cc.o | |
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/fast-dtoa.cc.o | |
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/fixed-dtoa.cc.o | |
[ 0%] Building CXX object hphp/third_party/double-conversion/CMakeFiles/double-conversion.dir/src/strtod.cc.o | |
Linking CXX static library libdouble-conversion.a |
I hereby claim:
To claim this, I am signing this object: