What is the use of @Ignore method?

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

closed with the note: got it.

1 Answer


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

The equivalent of the same for the TestNG framework is  

public class FooTest {

Hope that helps!

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