Reuse of Fixture Setup between Test Classes
Lucas Pereira da Silva, Patrícia Vilain · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · 2017
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.The models are evaluated through a case study where the new fixture setup strategy presented a reduction of 47,62% in the fixture setup code.