title: How To Avoid Before And After Annotation In junit
body: <p>I have created One Junit class Parent with Before and After Annotation.
  As I dont have access to change the parent and it is also must for me to Extends That Class Only.I Want to Avoid the Before and after for some of my Child Class TestCase.</p>
  
  <blockquote>
    <p>Parent.class is in JAR1</p>
  </blockquote>
  
  <pre><code>public class Parent {
  @Before
  public void RunBefore_EveryTestCase()
  {}
  @After
  public void RunAfter_EveryTestCase()
  {}    
  </code></pre>
  
  <blockquote>
    <p>child.class is in JAR2</p>
  </blockquote>
  
  <pre><code>import Parent;
  public class Child extends Parent{
  @Test1        
   /////////////////I DONT Want to Run Before and After inherit From Parent
  public void RunBefore_EveryTestCase()
  {}
  </code></pre>