Open In App

Software Testing – Test Case Review

When a test engineer prepares a test case, he or she may skip some scenarios like entering incorrect data, and writing incorrect navigation steps, all of which might have an impact on the overall test execution process. To avoid this, one round of evaluation and approval will be conducted before beginning the test. If some test cases are missed out and the review procedure is not done then the accuracy of the test case document will be less. Only after the test case has been written must all cases be sent for review to another test engineer, known as a reviewer, for review. In software testing, the examination of test cases is a critical step. Every functionality listed in the Software Requirement Specification is addressed by the test case. The test case should be effective as well as adhere to the test case writing guidelines. Each test case should be checked to ensure the success and thoroughness of the test. Here, we will discuss the following points:

  1. Why Review Test Cases?
  2. What is Test Case Repository?
  3. Benefits of Test Case Repository.
  4. Test Case Review Process.
  5. Techniques of Test Case Review.
  6. Tips While Reviewing Test Cases.
  7. Factors to Consider During Test Case Review.
  8. Common Mistakes During Test Case Review.
  9. Classifying Defects in Review of the Test Cases.

Why Review Test Cases?

Peer review should be done on any work product that is deemed a deliverable. Test cases, which are important deliverables for the testing team, are included in this category. It is critical to write effective test cases that successfully uncover as many faults as possible during the testing process. As a result, a check is required to determine whether:



What is Test Case Repository?

Keeping test cases organized pays off handsomely, particularly in medium to large projects. Furthermore, testing is a procedure that can be repeated. Everyone benefits from reusing test cases since it saves time. Large elements of projects can be repeated for testing. Maintaining a test case repository allows one to reuse past test resources as needed, which helps to save time. The good news is that keeping a well-organized test case repository isn’t difficult at all. The quantity and variety of test cases that constitute the basis of testing cycles are often linked to the success of a software testing team. The assimilation of test cases may take a significant amount of time and effort, with the main focus being on creating a complete test case repository for each application. Test cases in the repository cover all essential permutations and combinations in workflow execution and transaction, ensuring that all system and user interactions are covered.

Furthermore, because a test case repository increases over time, testers should keep it up to date with each new version of the business application or software product. If this is not done, it will lose synchronization with the software’s actual function and behavior over time. As a result, subsequent QA cycles’ findings will suffer as a result.



Benefits of Test Case Repository

The following are some of the benefits of a test case repository:

  1. The repository can be updated if something new comes up.
  2. Saves time.
  3. Test case writing skills of testers are evaluated on a performance basis.
  4. Coverage.
  5. Assists with reporting.
  6. Traceability.
  7. Charts can be created to display the status of test cases (pass, fail, not tested).
  8. Can assist in the development of new similar items.
  9. Less data is passed from one tester to the next.

Test Case Review Process

The following are the list of activities involved in the review process:

1. Planning: This is the first phase and begins with the author requesting a moderator for the review process. The moderator is responsible for scheduling the date, time, place, and invitation of the review. The entry check is done to make sure that the document is ready for review and does not have a large number of defects. Once the document clears the entry check the author and moderator decide which part of the document to be reviewed.

2. Kick-Off: This is an optional step in the review process. The goal is to give a short introduction on the objectives of the review and documents to everyone in the meeting. 

3. Preparation: The reviewers review the document using the related documents, procedures, rules, and checklists provided. Each participant while reviewing identifies the defects, questions, and comments according to their understanding of the document.

4. Review Meeting: The review meeting consists of three phases-

5. Rework: If the number of defects found per page exceeds a certain level then the document has to be reworked. 

6. Follow-Up: The moderator checks to make sure that the author has taken action on all known defects. 

Test Case Review Process

Techniques for Test Case Review

There are three techniques to conduct a test case review:

  1. Self-review: This is carried out by the tester who wrote the test cases. By looking at SRS/FRD, he can see if all of the requirements are met or not.
  2. Peer review: This is done by another tester who isn’t familiar with the system under test but hasn’t developed the test cases. Maker and Checker are two other names for the same thing.
  3. Supervisory review: This is done by a team lead or manager who is higher in rank than the tester who wrote the test cases and has an extensive understanding of the requirements and system under test.

Tips While Reviewing Test Cases

Below are some of the tips to be kept in mind while reviewing the test cases:

Factors to Consider During Test Case Review

During the review, the reviewer looks for the following in the test cases:

1. Template: The reviewer determines if the template meets the product’s requirements.

2. Header: The following aspects will be checked in the header:

3. Body: Look at the following components in the test case’s body:

TestCaseName Step No Reviewer Author Comments Comments
  Comments Severity  

ST100

CNNB-ET001

7 Module Not Linked Critical   Precondition is Required

ST200

SNNC-XD007

45 Invalid Parameter Major Fixed ——–

NJ120

BKKL-PP330

18 Unused Variable Minor Fixed ———
  07 Need more input value Major Not Fixed ——–

4. Text Execution Report:

Module Name Total Test Cases Total Test Cases Executed Total Test Case Passed Total Test Case Failed Pass% Fail%

Marketing

110

110

100

10

90%

10%

Payment

200

200

150

50

75%

25%

Production

70

70

70

0

100%

0%

Sales

100

90

45

45

50%

50%

Loans

120

120

100

20

80%

20%

Total = 

600

590

465

125

65%

35%

This report was written by the test lead, and the test engineer submitted the particular features that he or she had tested and implemented.

This report is sent to the following addresses by the test lead:

Where the list of failed test cases is required by a development team. There is a list of test case names, related status, and comments, as shown in the table below. The data from the Sales test case is shown in the table below-

Step Number Test Case Name Test Case Status Comments
1

ST100

CNNB-ET001

Pass
2

ST200

SNNC-XD007

Pass
3

ST200

SNNC-XD007

Failed Bug 
.      
.      
.      
.      
98      
99      
100      

Common Mistakes During Test Case Review

Below are some common mistakes checked during the test case review process:

  1. Spelling errors: Spelling errors can sometimes cause a lot of confusion or make a statement difficult to grasp.
  2. Replication of Test Cases: It relates to the reduction of redundant test cases. It’s possible that two or more test cases are testing the same item and can be combined into one, saving time and space.
  3. Standard/Guidelines: It’s critical to examine whether all of the standards and guidelines are being followed correctly during the review process.
  4. Redundancy: When a test case is rendered obsolete owing to a change in requirements or certain adjustments, it is referred to be redundancy. These types of test scenarios must be eliminated.
  5. The manner used: Test cases should be written in a basic, easy-to-understand language.
  6. Grammar: If the grammar is incorrect, the test case can be misinterpreted, leading to incorrect findings.
  7. Format of Template: When a suitable template is followed, it is simple to add/modify test cases in the future, and the test case plan appears orderly.

Classifying Defects in Review of  the Test Cases

When these checklists are utilized consistently and problems are discovered, it is recommended that the defects be classified into one of the following categories:

Defects could sneak into production if test cases aren’t thoroughly reviewed. As a result, production issues could be reported, thereby impacting the Software’s quality. Resolving problems at this time would be much more expensive than fixing them if they had been discovered during the testing phase.


Article Tags :