If you don't have PHP 5.4 check $CFG->behat_switchcompletely in config-dist.php but remember to remove the var and disable the test environment after the tests
(Note that some tests can fail due to unavailable elements (the error would be something like "there is no element with id|label|title 'Username'") further work is being done in MDL-37750 to solve it.)
Install your behat testing environment
If you don't have PHP 5.4 check $CFG->behat_switchcompletely in config-dist.php but remember to remove the var and disable the test environment after the tests
http://docs.moodle.org/dev/Acceptance_testing#Installation
Run the tests
http://docs.moodle.org/dev/Acceptance_testing#Running_tests
They SHOULD all pass
(Note that some tests can fail due to unavailable elements (the error would be something like "there is no element with id|label|title 'Username'") further work is being done in MDL-37750 to solve it.)
A steps definition and (associated test) to add blocks to moodle pages would be basic