Q. What is the purpose of @Ignore in JUnit?

A
To run the test always
B
To skip the test method
C
To set up data
D
To clean resources
Solution:

@Ignore annotates a test method to be skipped during execution in JUnit.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!