Unit Test
Persian equivalent تست واحد
In plain language A unit test is a small test designed to verify the correctness of a single unit of source code.
Short definition In software engineering, a unit test is an automated verification method that isolates a specific function or method to validate its behavior against defined inputs and expected outputs without relying on external dependencies.
Detailed explanation and example
For instance, a developer might write a test case for a function that calculates the sum of two integers to ensure it returns the correct result when given the values five and seven. This verification process helps identify bugs early in the development cycle before they propagate to larger systems.