Skip to content

Commit

Permalink
MDL-42842 behat: Adding a new formatter
Browse files Browse the repository at this point in the history
Based on ProgressFormatter, the site info
will be displayed when the suite begins.
  • Loading branch information
David Monllao committed Nov 26, 2013
1 parent 7514c2f commit e2d7379
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"require-dev": {
"phpunit/phpunit": "3.7.*",
"phpunit/dbUnit": "1.2.*",
"moodlehq/behat-extension": "1.26.2"
"moodlehq/behat-extension": "1.26.3"
}
}
5 changes: 4 additions & 1 deletion lib/behat/classes/behat_config_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,15 @@ protected static function get_config_file_contents($features, $stepsdefinitions)
'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'
)
)
);
Expand Down

0 comments on commit e2d7379

Please sign in to comment.