oshtest">local plugin mooshtest</a> was created.</p>

<p>It runs external moosh command with</p>

<pre><code>And I run moosh...
</code></pre>

<p>And can check the output of the moosh command with</p>

<pre><code>Then moosh command "..." contains "..."
</code></pre>

<p>See <a href="https://github.com/tmuras/moosh/tree/master/tests/mooshtest/tests/behat">existing feature files</a> for examples.</p>

<p>Few hacks are needed in order to run the testing like that. Normally when Moodle runs behat tests, it is i