قسمت های قبلی:
Let’s start with the most basic type of software testing – unit testing. Sometimes called component testing, unit testing focuses on verifying the individual units or components of a given software system.
It involves testing small, independent units of code to ensure that they work as intended. Unit testing is typically performed manually by developers, using white-box testing techniques that delve into the internal logic and structure of the code itself. By testing individual units in isolation, developers can identify defects early in the development cycle and promote code reusability and maintainability. Unit testing can be seen as the foundation for building robust and reliable software systems.
Common unit tests may include:
Example of a unit test:
A developer has created a password input text field with a validation value that must contain at least 8 characters and special characters. He then sets up a unit test to verify this one specific text field by entering a password that has fewer characters, no special characters, an empty field, etc.
قسمت های بعدی:
لینک مطلب اصلی:
https://stratoflow.com/types-of-software-testing