Multiple choice

What is unit testing?

  1. Manually testing your application through the GUI or the command line

  2. Testing the smallest components of the application in isolation.

  3. A way of testing the integration of many different components

  4. Having the end users of the application try it out and report bugs

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

Unit testing involves testing the smallest testable parts of an application, such as individual methods or classes, in complete isolation from other parts of the system. This ensures that each individual component functions correctly on its own.