1. What is unit testing?
Unit testing is a software testing technique where individual units or components of a software are tested in isolation to ensure their correctness. It helps identify bugs early in the development process.
2. Explain the difference between unit testing and integration testing.
Unit testing focuses on testing individual units or components, while integration testing verifies the interactions between different units to ensure they work together correctly.