Unit Testing Lifecycle
Unit Testing Lifecycle
Unit testing is a software testing method in which the developer team tests individual standalone code units or modules to determine whether there are any bugs. The main aim is to isolate each system unit to identify, analyze, and fix the defects.
There are multiple steps in unit testing. There are as follows:
- Pull code from the repository
- Develop or make changes to the code
- Execute Unit tests
- Fix Bugs and Submit changes
- Re-Execute Unit Tests
- Code Review
- Push the code to the repository
These steps ensure the reliability and correctness of individual units or components of the system without any external dependencies. The next step in overall testing is to integrate the components and perform Integration testing.