What type of software testing evaluates individual units, functions, or methods of source code in isolation to verify they work correctly?

Answer and explanation

Correct answer: A. Unit testing

  1. Step 1: Unit testing focuses on the smallest testable parts of an application (individual functions or classes).
  2. Step 2: Developers use frameworks like `pytest` or `JUnit` to execute unit tests automatically and catch defects early.
Answer
Unit testing.
Why not the others: 'System integration testing' verifies interactions between combined modules; 'UAT' evaluates whether the complete product meets end-user business requirements; 'Performance load testing' assesses speed and stability under heavy traffic.

Practise more Python Programming, Data Structures, Algorithms, Networks and Cybersecurity.

Free questions with an explanation for every one, and full timed Saudi Secondary School Certificate mock tests.