t fail but sets its <code>$Task.Error</code> then it is still treated as
failed. The build does not stop in this case. This can be used effectively is
special cases, e.g. in tasks like <code>test</code>.</li>
</ul>
<p><strong>Sample custom task <code>test</code></strong></p>
<ul>
<li><a href="https://github.com/nightroman/Invoke-Build/blob/master/Tasks/Test"><code>test</code></a> -
  Test-tasks are allowed to fail without breaking the build. Errors are counted
  and written as usual. <code>test</code>'s job