1
What is the use of @Ignore method?

Closed 1 Answers 26 Views
Use and working of @ignore method.               

Thankyou.
closed with the note: got it.

1 Answer

0

@Ignore is widely used in Junit. It is mainly used to ignore the method.

The equivalent of the same for the TestNG framework is  

@Test(enabled=false)
public class FooTest {
  //
}

Hope that helps!

answered Nov 29, 2016 by stbadmin (4,970 points)
...