title: xUnit: stop test execution from code
body: <p>Can I finish the unit test from code? Is it possible to do something like this?  </p>
  
  <pre><code>[Fact]
  public void Test()
  {
     code;
     code;
     code;
     StopUnitTest(success: true);
     code;
     code;
  }
  </code></pre>