Um Modelo para Construção de Componentes Testáveis
Abstract
A software component must be tested every time it is reused, to guarantee the quality of both the component itself and the system in which it is to be integrated. To reduce the costs of the test phase, this article proposes a model to build highly testable components, embedding monitoring mechanisms and assertions, besides an infrastructure that generates test cases from an UML specification. Our approach proposes the insertion of the mechanisms directly into the intermediate code, allowing the creation of testable COTS components.References
Beydeda, S. e Gruhn, V. (2003) “State of the art in testing components”. In: 3rd International Conference on Quality Software.
Booch, G., Rumbaugh, J. e Jacobson, I. (2000) UML: Guia do Usuário. Ed. Campus.
Bundell, G., Lee, G., Morris, J., Parker, K. (2000) “A Software Component Verification Tool”. In: Proceedings of International Conference on Software Methods and Tools.
Dahm, M. (2001) “Byte Code Engineering with the BCEL API”. Technical Report B-17-98, Freie Universität at Berlin, Institut für Informatik.
Gao, J., et. al. (2002) “On building testable software components”. In: Lecture Notes in Computer Science, V. 2255, pp. 108-121, Springer Verlag.
Gao, J., Zhu, E., e Shim, S. (2000) “Monitoring Software Components and Component-Based Software”. In: IEEE Computer Software and Application Conference (COMPSAC).
Hörnstein, J. e Edler, H. (2002) “Test reuse in CBSE Using Built-in Tests”. In: Workshop on Component-Based Software Engineering, Composing Systems from Components.
Kiczales, G., et. al. (2001) “An Overview of AspectJ”. In: Lecture Notes in Computer Science, V. 2072, p. 327-353, Springer Verlag.
Szyperski, C. (1998) Component Software: Beyond Object-Oriented Programming, Addison-Wesley.
Toyota, C. (2000) Melhoria da Testabilidade de Classes Usando o Conceito de Autoteste. Campinas: Instituto de Computação da UNICAMP. 119 p. (Dissertação, Mestrado em Ciência da Computação).
Ukuma, L. (2002) Uma Estratégia para o Desenvolvimento de Componentes de Software Autotestáveis. Campinas: Instituto de Computação da UNICAMP. 144 p. (Dissertação, Mestrado em Ciência da Computação).
Wang, Y., King, G. e Wickburg, H. (1999) “A Method for Built-in Tests in Component-based Software Maintenance”. In: IEEE International Conference on Software Maintenance and Reengineering (CSMR'99), p. 186-189.
Warmer, J e Klepper, A. (1999) “OCL: The constraint language of the UML”. Journal of Object-Oriented Programming, May.
Weyuker, E. (1998) “Testing Component-Based Software: A Cautionary Tale”, In: IEEE Software, 15(5): 54-59, September/October 1998.
Booch, G., Rumbaugh, J. e Jacobson, I. (2000) UML: Guia do Usuário. Ed. Campus.
Bundell, G., Lee, G., Morris, J., Parker, K. (2000) “A Software Component Verification Tool”. In: Proceedings of International Conference on Software Methods and Tools.
Dahm, M. (2001) “Byte Code Engineering with the BCEL API”. Technical Report B-17-98, Freie Universität at Berlin, Institut für Informatik.
Gao, J., et. al. (2002) “On building testable software components”. In: Lecture Notes in Computer Science, V. 2255, pp. 108-121, Springer Verlag.
Gao, J., Zhu, E., e Shim, S. (2000) “Monitoring Software Components and Component-Based Software”. In: IEEE Computer Software and Application Conference (COMPSAC).
Hörnstein, J. e Edler, H. (2002) “Test reuse in CBSE Using Built-in Tests”. In: Workshop on Component-Based Software Engineering, Composing Systems from Components.
Kiczales, G., et. al. (2001) “An Overview of AspectJ”. In: Lecture Notes in Computer Science, V. 2072, p. 327-353, Springer Verlag.
Szyperski, C. (1998) Component Software: Beyond Object-Oriented Programming, Addison-Wesley.
Toyota, C. (2000) Melhoria da Testabilidade de Classes Usando o Conceito de Autoteste. Campinas: Instituto de Computação da UNICAMP. 119 p. (Dissertação, Mestrado em Ciência da Computação).
Ukuma, L. (2002) Uma Estratégia para o Desenvolvimento de Componentes de Software Autotestáveis. Campinas: Instituto de Computação da UNICAMP. 144 p. (Dissertação, Mestrado em Ciência da Computação).
Wang, Y., King, G. e Wickburg, H. (1999) “A Method for Built-in Tests in Component-based Software Maintenance”. In: IEEE International Conference on Software Maintenance and Reengineering (CSMR'99), p. 186-189.
Warmer, J e Klepper, A. (1999) “OCL: The constraint language of the UML”. Journal of Object-Oriented Programming, May.
Weyuker, E. (1998) “Testing Component-Based Software: A Cautionary Tale”, In: IEEE Software, 15(5): 54-59, September/October 1998.
Published
2004-05-10
How to Cite
ROCHA, Camila Ribeiro; MARTINS, Eliane.
Um Modelo para Construção de Componentes Testáveis. In: FAULT TOLERANCE WORKSHOP (WTF), 5. , 2004, Gramado/RS.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2004
.
p. 61-72.
ISSN 2595-2684.
DOI: https://doi.org/10.5753/wtf.2004.23380.
