An early investigation of unit testing practices of component-based software systems
|G. Buchgeher, S. Fischer, M. Moser, J. Pichler. An early investigation of unit testing practices of component-based software systems. pages 12-15, DOI https://doi.org/10.1109/VST50071.2020.9051632, 2, 2020.|
|Buch||Proceedings of the 2020 IEEE 3rd International Workshop on Validation, Analysis, and Evolution of Software Tests (VST'20)|
Component-based software development (CBSD) is one of the main programming paradigms of the last decades. The main idea of CBSD is to modularize a system as a configuration of multiple interacting components. Components interact with each other via dedicated component interfaces hiding a component’s implementation and making components interchangeable. In this paper, we present an early investigation of unit testing practices of open source component-based software systems with the goal to find out how component-based software systems are actually tested and how to improve unit testing practices as part of future research. Our preliminary results show that unit tests typically directly test the component implementation and not dedicated component APIs. The method coverage of component APIs varied between 17% and 34% in the analyzed projects.