Static techniques are testing techniques in which the code is not run.A review is the most important testing technique. This tutorial describes how reviews carried out with help of a case study.
Please be patient . Video will load in some time. If you still face issue viewing video click here
Video Transcript with Key Takeaways Highlighted:
To understand a review in detail lets consider the same example , to add email functionality to flight reservation application for which the Functional Design Document is prepared by the technical lead
Technical Lead approaches his Manager and requests to initiate a review.
The Manager will quickly go through the document and check whether the document is of acceptable quality to request a review by other people. For example , in this case , he finds a few spelling mistakes and asks the technical lead to correct them.
Once corrected
The manger will send out a meeting request to all stake holders with Meeting Location Information, Date and Time of meeting, and will mention the Agenda for the Meeting, also attach the Functional Design Document itself. This is the planning stage
Next stage is theKick Off Meeting. It is an Optional Step. Goal is to get everybody on the same wavelength regarding the document under review and is beneficial for new or highly complex projects
Next stage is the Preparation Stage where Review Meeting participants individually go through the document to identify defects, comments and questions to be asked during the review meeting
This phase is necessary to ensure that during the meeting participants focus of subject in hand instead of day dreaming. This is your exercise. For this Functional Design Document think of the details missing, which will help you test this functionality. Pause the training and think!
The next stage , which is, the actual review meeting. Here , the meeting Participants are assigned different roles to increase the effectiveness of the meeting.
The moderator is a role usually played by the manager who leads the review meeting and sets the Agenda.
The creator of the document ,under review plays the role of AUTHOR who reads the document and invites comments
The task of the reviewer is to communicate any defects in the work product .
Suppose , one of the reviewer says it would be nice to have a Reset Button. The author agrees to this
Another review comment is that there is no mention , as to where in the menu item ,the Email Functionality will appear. Again the author agrees and accepts to make changes
The meeting participant playing the role of the scribe ( also know as recorder ) , will note down this defect or suggestion.
One young review , suggests the possibility of sharing a ticket via face book , orkut and so on. The author strongly disagrees to this and the reviewer and author enter into a heated argument. At this juncture the moderator intervenes and finds a amicable solution which is to ask the client whether he needs sharing via social networking
Finally , all comments are discussed and the scribe gives a list of Defects / Comments / Suggestions that the author needs to incorporate into his work product.
The moderator then closes the review meeting. That’s all to the meeting phase of review.
The important roles here are - The Moderator ,The Author ,The Scribe / Recorder ,The Reviewers
The moderator and scribe can also play the role of reviewer meaning they can give review comments to the author.
The next phase of the review, is the re-work phase, where the author will make changes in the document ,as per the action items of the meeting .
In the Follow -up phase , the moderator will circulate the reworked document all review participants and ensure that all changes have been included satisfactorily.
This was a generic review.
Note that, there are three types of reviews
Walk Through , which is led by Author
Technical Review , which is led by a trained moderator with No management participation
Inspection ,which is led by trained moderator and use entry and exit criteria
All these 3 types follow the same review process and follow the same stages as discussed earlier.