Check out example codes for "junit test ignored". It will help you in understanding the concepts better.

Code Example 1

@Ignore
public class TestClass {
  	[...]
	//JUnit will ignore this class for tests
}

Learn ReactJs, React Native from akashmittal.com