Skip to content

Instantly share code, notes, and snippets.

@eliza411
Created June 27, 2013 20:02
Show Gist options
  • Save eliza411/5879876 to your computer and use it in GitHub Desktop.
Save eliza411/5879876 to your computer and use it in GitHub Desktop.
use Behat\MinkExtension\Context\MinkContext;
//
// Require 3rd-party libraries here:
//
// require_once 'PHPUnit/Autoload.php';
// require_once 'PHPUnit/Framework/Assert/Functions.php';
//
/**
* Features context.
*/
# class FeatureContext extends FeatureContext
class FeatureContext extends Drupal\DrupalExtension\Context\DrupalContext
{
/**
* Initializes context.
* Every scenario gets it's own context object.
*
* @param array $parameters context parameters (set them up through behat.yml)
*/
public function __construct(array $parameters)
{
// Initialize your context here
}
//
// Place your definition and hook methods here:
//
// /**
// * @Given /^I have done something with "([^"]*)"$/
// */
// public function iHaveDoneSomethingWith($argument)
// {
// doSomethingWith($argument);
// }
//
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment