Tuesday 22 January 2013

TestNG Tutorial 3 – Ignore Test


import org.testng.annotations.*;
 
/**
 * TestNG Ignore Test
 *
 */
public class TestNGTest3 {
 
 @Test(enabled=false)
 public void divisionWithException() {  
   System.out.println("Method is not ready yet");
 }  
 
}

No comments:

Post a Comment