Generation of Metadata to Support Structural Testing of Components

  • Vânia Somaio Teixeira UNIVEM / FGP
  • Marcio Eduardo Delamaro UNIVEM

Abstract


The use of components in the software development brings benefits in terms of quality and productivity. On the other hand, it has added complexity to a few activities like software testing. In this context, there are two different perspectives: one from the component developer and other from the component user. Among the main problems related to the test of component-based applications is the lack of information exchanged between these two perspectives. The developer does not know the contexts where the component will be used and the user ignores how the component wasvalidated or what its validation requirements are. In this work we propose the use of structural coverage measures produced by the developer as an aid to the integration of the component in a user application. Such information is appended to the component code as metadata generated by a tool that automatizes this process.
Keywords: Metadata, Structural Testing, Software Development

References

Beydeda, S. e Gruhn, V. (2003). State of the art in testing components. In Third International Conference on Quality Software – QSIC’03, pág. 146–153, Washington, DC, USA. IEEE Computer Society.

Bundell, G. A., Lee, G., Morris, J., Parker, K., e Lam, P. (2000). A software component verification tool. In 1st International Conference on Software Methods and Tools (SMT’2000), pág. 137–147, Wollongong, Australia. IEEE Computer Society Press.

Edwards, S. H. (2001). Toward reflective metadata wrappers for formally specified software components. In 1st Workshop on Specification and Verification of Component-Based Systems – affiliated with OOPSLA’2001, pág. 14–21, Tampa, Florida. ACM Press.

Liu, C. e Richardson, D. (1998). Software components with retrospectors. In International Workshop on the Role of Software Architecture in Testing and Analysis, Marsala, Sicily, Italy.

Massol, V. e Husted, T. (2005). JUnit em Ação. Rio de Janeiro, RJ. Ciência Moderna.

Orso, A., Harrold, M. J., e Rosenblum, D. S. (2001). Component metadata for software engineering tasks. In Second International Workshop on Engineering Distributed Objects – EDO’00, pág. 129–144, London, UK. Springer-Verlag.

Pressman, R.: Engenharia de Software. Editora McGraw-Hill, 2002.

Vincenzi, A. M. R., Delamaro, M. E., Wong, W. E., e Maldonado, J. C. (2006). Establishing structural testing criteria for Java bytecode. Software Practice and Experience, 36(14):1513–1541.

Vincenzi, A. M. R., Maldonado, J. C., Delamaro, M. E., Spoto, E. S., e Wong, W. E. (2005). Desenvolvimento Baseado em Componentes: Conceitos e Técnicas, capítulo Software Baseado em Componentes: Uma Revisão sobre Teste, pág. 233–280. Ciência Moderna, Rio de Janeiro, RJ.
Published
2008-06-02
TEIXEIRA, Vânia Somaio; DELAMARO, Marcio Eduardo. Generation of Metadata to Support Structural Testing of Components. In: BRAZILIAN SOFTWARE QUALITY SYMPOSIUM (SBQS), 7. , 2008, Florianópolis. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2008 . p. 405-419. DOI: https://doi.org/10.5753/sbqs.2008.15561.