{"title":"Execution and code reuse between test classes","authors":"L. F. D. Silva, Patrícia Vilain","doi":"10.1109/SERA.2016.7516134","DOIUrl":null,"url":null,"abstract":"In this paper we describe commonly used fixture setup strategies as well as their disadvantages and advantages. We propose a dependency model and a test fixture sharing model that allow the definition of a new fixture setup strategy. This strategy promotes code reuse by sharing fixture setups between test classes and execution reuse by sharing test fixture between tests. The models are evaluated through an experiment where the new fixture setup strategy presented a reduction of approximately 8 times of execution time.","PeriodicalId":412361,"journal":{"name":"2016 IEEE 14th International Conference on Software Engineering Research, Management and Applications (SERA)","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-06-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE 14th International Conference on Software Engineering Research, Management and Applications (SERA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SERA.2016.7516134","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4
Abstract
In this paper we describe commonly used fixture setup strategies as well as their disadvantages and advantages. We propose a dependency model and a test fixture sharing model that allow the definition of a new fixture setup strategy. This strategy promotes code reuse by sharing fixture setups between test classes and execution reuse by sharing test fixture between tests. The models are evaluated through an experiment where the new fixture setup strategy presented a reduction of approximately 8 times of execution time.