Research Article

Regression Test Selection for C# Programs

Algorithm 2

Algorithm to generate subset of test cases .
Input: Affected Class Diagram (ACD);
which is a test-method coverage table for the methods and their corresponding test cases;
: set of changed/deleted, and methods explicitly calling them.
Output: Set of Test cases that cover from the original test suite
Description: This algorithm selects the test cases that cover the affected methods by
modification in the program.
Begin
 For each Class.method ( )
  
   If Class ACD && method
    
     For each test case that covers
     
    
  
Return
End