Skip to content

Instantly share code, notes, and snippets.

@everzet
Created October 3, 2011 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save everzet/1258944 to your computer and use it in GitHub Desktop.
Save everzet/1258944 to your computer and use it in GitHub Desktop.
Geeky context for Behat + Mink
<?php
use Behat\Mink\Behat\Context\MinkContext;
/**
* Provides basic steps to test your web app from the geek perspective.
*/
class GeekyMinkContext extends MinkContext
{
/**
* @Given /^I fill a hidden field with firebug$/
*/
public function fillHiddenField()
{
throw new \InvalidArgumentException('User expected, but geek given');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment