>Mithril comes with a testing framework called <a href="https://github.com/MithrilJS/mithril.js/tree/master/ospec">ospec</a>. What makes it different from most test frameworks is that it avoids all configurability for the sake of avoiding <a href="http://catb.org/jargon/html/Y/yak-shaving.html">yak shaving</a> and <a href="https://en.wikipedia.org/wiki/Analysis_paralysis">analysis paralysis</a>.</p>
<p>The easist way to setup the test runner is to create an NPM script for it. Open your project&#39;s <code>p