</code></pre>

<hr />

<a name="Quick.steps.to.rerun.the.tests:"></a>
<h4>Quick steps to rerun the tests:</h4>

<pre><code>export MOODLE_DOCKER_WWWROOT=~/moosh-testing/moodle
export MOODLE_DOCKER_DB=mysql

cd $MOODLE_DOCKER_WWWROOT
bin/moodle-docker-compose up -d
bin/moodle-docker-compose exec webserver bash

apt-get update
apt-get install sudo

chown -R www-data /var/www
sudo -u www-data -E -H bash

php admin/tool/behat/cli/init.php
php admin/tool/behat/cli/run.php --format pretty --tags=@moosh
</code></pr