h-testing/moodle/moosh
composer install
</code></pre>

<p>In the moodle directory, <strong>move</strong> tests from ~/moodle/moosh/tests/mooshtest into ~/moodle/local:</p>

<pre><code>cd  ~/moosh-testing/moodle
mv moosh/tests/mooshtest local
</code></pre>

<p>Initialize environment for behat:</p>

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

<p>copy template file as config to moodle:</p>

<pre><code>cd ~/moosh-testing/moodle-docker
cp config.doc