written 5.8 years ago by |
Under Static testing is to review the code without executing it. Inspection is the most formal method in static testing. This method can detect all faults, violations and other side effects.
OR
Inspection is formal review where people external to the testing team may be involved as inspectors. They are subject matter experts who review the work product.
In this:
Thorough preparation is required before an inspection/review
Enlisting multiple diverse views.
Assigning specific roles to the multiple participants
Going sequentially through the code in a structured manner.
There are four roles in inspection:
Author of the code: the person who had written the code
Moderator: who is expected to formally run the inspection according to the process?
Inspectors: are the people who actually provide review comments for the code.
Scribe: who takes detail notes during the inspection meeting and circulates them to the inspection team after the meeting.
The author or moderator selects review team. The inspection team assembles at the agreed time for inspection meeting. The moderator takes the team sequentially through the program code. If any defect is found they will classify it as minor or major. A scribe documents the defects. For major defects the review team meets again to check whether the bugs are resolved or not.