Multiple choice technology testing

When developing the unit test, which of the following conventions suggested by framework.

  1. a.) Name of the Class must end with “Test”

  2. b.) Name of the method must start with “test”

  3. c.) Return type of the test method must be “void”

  4. d.) Test method must not have any parameter.

  5. e.) All of the above

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

JUnit framework conventions require: test class names ending with 'Test', test method names starting with 'test', test methods returning void, and test methods having no parameters. All of these conventions (Options A-D) are standard JUnit practices, making Option E correct. These conventions help test runners identify and execute test methods correctly.