User:Mashafatima

What Are Test Cases?

Test Cases are developed to test whether the requirements and functionality of a system is working properly or not. It comprises of a set of conditions or involves some variable for which a tester tests the system.

What is Test Case Prioritization in Software Testing?

Effectiveness of testing cases is increased by arranging them in such an order as most beneficial test cases are executed first. Removal of most critical faults from the system first will increase the performance of the system. Test cases are prioritized by assigning priority to each test cases. This priority is set according to a specific criteria. This criteria is developed by the developers and testing team which is set according to the product being developed. These test cases are placed as a test suite. Test Case prioritization technique is an regression testing technique which typically involves repetition of testing of test cases according to specific targets to be achieved. Prioritization can be according to various factors. All these factors depend of the system being developed. There are a number of factors but this article discusses major 4 prioritization factors.

One of these factors involve customer allotted priority in which you first ask the customer about their priorities and requirements in the product so you develop test cases according the given priority and put greater effort in finding the faults that has higher customer priority.

Second factor is developer-observed Code implementation complexity. The implemented area of code with highest complexity is given the highest value for prioritization.

Third factor is Fault Rate of Requirements. Based on the data collected in older versions of the product the developers must differentiate the requirements that were reported by the customer as failures. To work on these failures in future systems because the failures reported by the customers are more likely to be error prone modules.

Fourth Factor is Changes in Requirements. It is calculated by the formula

Ri = (M /N)×10 where '''ith = the number of requirement changed. M= The number of times the requirement changed N=Maximum Number of requirements.''' Range between 1 to 20 is assigned by the developer which shows the changes in requirement. Changes in requirement is one of the major factor for System failures. There are various algorithms which are performed to find faults based on the analysis on the test cases which involves these factors.