Exam4Training

What is the annotation?

To create a basic JUnit 4 test class, create a class that contains one or more test methods. A test method begins with the specific annotation and contains the code to exercise and verify a single functionality in the component that you want to test.

What is the annotation?
A . @RunWith
B . @LargeTest
C . @Rule
D . @Test

Answer: D

Exit mobile version