Social Coverage for Customized Test Adequacy and Selection Criteria

Breno Miranda, Antonia Bertolino

International Workshop on Automated Software Test (AST 2014), pp. 22–28, 2014.

Abstract

Test coverage information can be very useful for guiding testers in enhancing their test suites to exercise possible uncovered entities and in deciding when to stop testing. However, for complex applications that are reused in different contexts and for emerging paradigms (e.g., component-based development, service-oriented architecture, and cloud computing), traditional coverage metrics may no longer provide meaningful information to help testers on these tasks. Various proposals are advocating to leverage information that come from the testing community in a collaborative testing approach. In this work we introduce a coverage metric, the Social Coverage, that customizes coverage information in a given context based on coverage data collected from similar users. To evaluate the potential of our proposed approach, we instantiated the social coverage metric in the context of a real world service oriented application. In this exploratory study, we were able to predict the entities that would be of interest for a given user with an average precision of 97% and average recall of 75%. Our results suggest that, in similar environments, social coverage can provide a better support to testers than traditional coverage.

Reference

Breno Miranda and Antonia Bertolino. 2014. Social Coverage for Customized Test Adequacy and Selection Criteria. In Proceedings of the 9th International Workshop on Automation of Software Test (AST 2014). ACM, New York, NY, USA, 22-28. DOI=http://dx.doi.org/10.1145/2593501.2593505

Download PDF
View electronic edition via DOI