Actas de congresos
BISTFaSC: an aproach to embed structural testing facilities into software components
Simpósio Brasileiro de Componentes, Arquiteturas e Reutilização de Software, VII, 2013, Brasília
Eler, Marcelo Medeiros
Masiero, Paulo Cesar
Component-based applications can be composed by in-house or COTS (Commercial off-the-shelf) components. In many situations, reused components should be tested before their integration into an operational environment. Testing components is not an easy task because they are usually provided as black boxes and have low testability. Built-in Testing (BIT) is an approach devised to improve component testability by embedding testing facilities into software components usually to support speciﬁcation-based testing. Such components are called testable components. There are situations, however, in which combining speciﬁcation and program-based testing is desirable. This paper proposes a BIT technique designed to introduce testing facilities into software components at the provider side to support structural testing at the user side, even when the source code is unavailable. An implementation to generate testable components written in Java is also presented. The approach was ﬁrstly evaluated by an exploratory study conducted to transform COTS components into testable components.