Skip to content

Instantly share code, notes, and snippets.

@dmonllao
Created December 18, 2013 02:11
Show Gist options
  • Save dmonllao/8016244 to your computer and use it in GitHub Desktop.
Save dmonllao/8016244 to your computer and use it in GitHub Desktop.
Configuration to run Zombie JS It does not work using zombie 1.4.1 as required by mink-zombie, will work when zombie 2 is released and mink-zombie requires it
// config.php
$CFG->behat_config = array(
'default' => array(
'extensions' => array(
'Behat\MinkExtension\Extension' => array(
'zombie' => '',
'javascript_session' => 'zombie'
)
)
)
);
// composer.json (master - 2.7dev)
{
"repositories" : [
{
"type": "vcs",
"url": "https://github.com/moodlehq/moodle-behat-extension"
}
],
"require-dev": {
"phpunit/phpunit": "3.7.*",
"phpunit/dbUnit": "1.2.*",
"moodlehq/behat-extension": "1.27.*"
"behat/mink-zombie-driver": "1.0.*"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment