MDL-42842 behat: Adding a new formatter

Based on ProgressFormatter, the site info
will be displayed when the suite begins.
This commit is contained in:
David Monllao
2013-11-26 10:46:39 +08:00
parent 378d11db3e
commit a9be971c84
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -8,6 +8,6 @@
"require-dev": {
"phpunit/phpunit": "3.7.*",
"phpunit/dbUnit": "1.2.*",
"moodlehq/behat-extension": "1.25.6"
"moodlehq/behat-extension": "1.25.7"
}
}
+4 -1
View File
@@ -190,12 +190,15 @@ class behat_config_manager {
'selenium2' => null
),
'Moodle\BehatExtension\Extension' => array(
'formatters' => array(
'moodle_progress' => 'Moodle\BehatExtension\Formatter\MoodleProgressFormatter'
),
'features' => $features,
'steps_definitions' => $stepsdefinitions
)
),
'formatter' => array(
'name' => 'progress'
'name' => 'moodle_progress'
)
)
);