Multiple choice technology testing

What should be selected while creating unit tests from the source class file?

  1. Methods

  2. Functions

  3. Classes

  4. Parameters

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

When creating unit tests from source code, you select individual methods to test. Unit testing focuses on testing the smallest testable units - individual methods within a class - rather than entire classes or functions. You create test methods that verify specific method behaviors with different inputs.