title: TestNG -Process finished with exit code 0
body: <p>I am using <code>Testng</code>, I have two classes <code>Util and test1</code>.</p>
  
  <p>I have 4 simple test methods in <code>Test1</code> class printing just the name of method. On running the <code>testng.xml</code>, it prints the expected statements from each method for a sec and then replaces it with error - Process finished with exit code 0. I am using <code>Intellij IDE</code>.
  Could anyone suggest anything on this.</p>
  
  <p><strong>Code :</strong></p>
  
  <pre><code>class util {....}
  class tets1 {
  @Test
  public void testmethod2(){
  System.out.println("In testmethod2");
  }
  
  @Test
  public void testmethod3(){
  System.out.println("In testmetho3");
  }
  
   @Test
   public void testmethod4()
   {
   System.out.println("In testmethod4");
   }
  
   @Test
   public void testmethod5(){
   System.out.println("In testmetho5");
   }
  </code></pre>
  
  <p><strong>Testng.xml:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" &gt;
  
  &lt;suite name="Suite1"&gt;
  &lt;test name="test1"&gt;
  &lt;classes&gt;
  &lt;class name="TagPackage.Test1"/&gt;
  &lt;/classes&gt;
  &lt;/test&gt;
  &lt;/suite&gt;    
  </code></pre>