Test Case Prioritization Based on Data Reuse : An approach to optimize productivity of test teams in black-box environments

Bok av Lucas Lima
Test Case Prioritization is an approach that aims to order test cases to obtain gains according to specific criteria. This work proposes test case prioritization techniques aiming to decrease the time spent in manual execution by reducing the effort of the data preparation needed for each test case; the better sequences of tests are those that reuse more data. We applied these techniques in a mobile phone testing environment where tests are manually executed and designed based on requirements.We propose a tool that mechanizes the prioritization process helping testers to register information, execute the prioritization techniques and choose from sequences yielded as results. Empirical studies were performed, comparing the permutation approach to the existing prioritization technique where the test cases are prioritized manually based on a heuristic that uses a tree structure and, knowledge and intuition from the testers. Results show gains of approximately 25-30% in configuration time. The techniques proposed yield significant results not just in the execution sequence but also in the sequence generation, which is automated by our tool.