All newslgStudy

Science

Unit testing

9/3/2026

Unit testing, also known as component or module testing, is a form of software testing by which isolated source code is tested to validate expected behavior. Unit testing describes tests that are run at the unit-level to contrast testing at the integration or system level.

Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Unit testing” →

Unit testing, also known as component or module testing, is a form of software testing by which isolated source code is tested to validate expected behavior. Unit testing describes tests that are run at the unit-level to contrast testing at the integration or system level.

---

This article is an automated import of the Wikipedia article "Unit testing", available at https://en.wikipedia.org/wiki/Unit_testing . Text is licensed under CC BY-SA 4.0.