1 research outputs found

    Investigation of similarity-based test case selection for specification-based regression testing.

    Get PDF
    uring software maintenance, several modiļ¬cations can be performed in a speciļ¬cation model in order to satisfy new requirements. Perform regression testing on modiļ¬ed software is known to be a costly and laborious task. Test case selection, test case prioritization, test suite minimisation,among other methods,aim to reduce these costs by selecting or prioritizing a subset of test cases so that less time, effort and thus money are involved in performing regression testing. In this doctorate research, we explore the general problem of automatically selecting test cases in a model-based testing (MBT) process where speciļ¬cation models were modiļ¬ed. Our technique, named Similarity Approach for Regression Testing (SART), selects subset of test cases traversing modiļ¬ed regions of a software systemā€™s speciļ¬cation model. That strategy relies on similarity-based test case selection where similarities between test cases from different software versions are analysed to identify modiļ¬ed elements in a model. In addition, we propose an evaluation approach named Search Based Model Generation for Technology Evaluation (SBMTE) that is based on stochastic model generation and search-based techniques to generate large samples of realistic models to allow experiments with model-based techniques. Based on SBMTE,researchers are able to develop model generator tools to create a space of models based on statistics from real industrial models, and eventually generate samples from that space in order to perform experiments. Here we developed a generator to create instances of Annotated Labelled Transitions Systems (ALTS), to be used as input for our MBT process and then perform an experiment with SART.In this experiment, we were able to conclude that SARTā€™s percentage of test suite size reduction is robust and able to select a sub set with an average of 92% less test cases, while ensuring coverage of all model modiļ¬cation and revealing defects linked to model modiļ¬cations. Both SART and our experiment are executable through the LTS-BT tool, enabling researchers to use our selections trategy andr eproduce our experiment.During software maintenance, several modiļ¬cations can be performed in a speciļ¬cation model in order to satisfy new requirements. Perform regression testing on modiļ¬ed software is known to be a costly and laborious task. Test case selection, test case prioritization, test suite minimisation,among other methods,aim to reduce these costs by selecting or prioritizing a subset of test cases so that less time, effort and thus money are involved in performing regression testing. In this doctorate research, we explore the general problem of automatically selecting test cases in a model-based testing (MBT) process where speciļ¬cation models were modiļ¬ed. Our technique, named Similarity Approach for Regression Testing (SART), selects subset of test cases traversing modiļ¬ed regions of a software systemā€™s speciļ¬cation model. That strategy relies on similarity-based test case selection where similarities between test cases from different software versions are analysed to identify modiļ¬ed elements in a model. In addition, we propose an evaluation approach named Search Based Model Generation for Technology Evaluation (SBMTE) that is based on stochastic model generation and search-based techniques to generate large samples of realistic models to allow experiments with model-based techniques. Based on SBMTE,researchers are able to develop model generator tools to create a space of models based on statistics from real industrial models, and eventually generate samples from that space in order to perform experiments. Here we developed a generator to create instances of Annotated Labelled Transitions Systems (ALTS), to be used as input for our MBT process and then perform an experiment with SART.In this experiment, we were able to conclude that SARTā€™s percentage of test suite size reduction is robust and able to select a sub set with an average of 92% less test cases, while ensuring coverage of all model modiļ¬cation and revealing defects linked to model modiļ¬cations. Both SART and our experiment are executable through the LTS-BT tool, enabling researchers to use our selections trategy andr eproduce our experiment
    corecore