Solved

To Create a Basic JUnit 4 Test Class, Create a Class

Question 38

Multiple Choice

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

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions