1.7.2 Testing
Introduction to Software Development
Testing is the process of evaluating the software to ensure it meets the requirements and works as expected. The testing process typically follows a hierarchy that begins with smaller components and gradually progresses to the entire system, including user acceptance. The main types of testing in this hierarchy are given below.
1.7.2.1 Unit Testing
Unit Testing is the first level of testing, where individual components or modules of the software are tested in isolation. Each "unit" is a small, testable part of the software, such as a function or method. The primary goal of unit testing is to verify that each component works correctly according to its design and performs as expected.