Unit testing aims to ensure that methods correctly implement the specified and implied pre- and post-conditions, while integration testing ensures that modules correctly follow interaction protocols. While the generation of unit test cases has been explored extensively in the literature, there is still little work on the generation of integration test cases. In this paper we present a new technique to generate integration test cases that leverages existing unit test cases. Our key observation is that both, unit and integration testing, use method calls as the atoms to construct test cases from. Unit tests contain information on how to instantiate classes in meaningful ways, how to construct arguments for method calls, and what the resulting system state should be after calling methods with those arguments. We use this information to construct more complex test cases that focus on class interactions rather than on individual state transformations caused by single method calls. This paper presents the approach and shows that the generated test cases can find interesting faults, compared to test suites generated with state of the art approaches.
Pezze', M., Rubinov, K., & Wuttke, J. (2013). Generating Effective Integration Test Cases from Unit Ones. In Proceedings of the 6th International Conference on Software Testing Verification and Validation (pp.11-20). IEEE Press [10.1109/ICST.2013.37].
|Citazione:||Pezze', M., Rubinov, K., & Wuttke, J. (2013). Generating Effective Integration Test Cases from Unit Ones. In Proceedings of the 6th International Conference on Software Testing Verification and Validation (pp.11-20). IEEE Press [10.1109/ICST.2013.37].|
|Carattere della pubblicazione:||Scientifica|
|Presenza di un coautore afferente ad Istituzioni straniere:||No|
|Titolo:||Generating Effective Integration Test Cases from Unit Ones|
|Autori:||Pezze', M; Rubinov, K; Wuttke, J|
|Data di pubblicazione:||2013|
|Nome del convegno:||IEEE International Conference on Software Testing|
|Appare nelle tipologie:||02 - Intervento a convegno|