title: Best practices: fail() vs assertTrue(false)
body: <p>When intentionally failing a test case (for example when an exception is not thrown) I've seen people use both fail() and assertTrue(false). Are there any advantages to using one or the other?</p>
  
  <pre><code>try {
      //method call that should throw exception
      fail("oops");
  } catch (Exception e) {}
  </code></pre>
  
  <p>vs.</p>
  
  <pre><code>try {
      //method call that should throw exception
      assertTrue("oops", false);
  } catch (Exception e) {}
  </code></pre>