XTool: Uma Ferramenta de Teste Baseado em Defeitos para Esquemas de Dados

  • Igor F. Nazar UFPR
  • Maria Claudia F. P. Emer UNICAMP
  • Silvia R. Vergilio UFPR
  • Mario Jino UNICAMP

Resumo


Este trabalho descreve a ferramenta, denominada XTool, que testa esquemas de dados considerando classes de defeitos previamente definidas. A XTool gera automaticamente dados de teste formados por instâncias de dados e consultas a essas instâncias. A abordagem implementada pela ferramenta pode ser utilizada em diferentes tipos de esquemas. O objetivo do teste realizado pela XTool é contribuir para melhorar a qualidade das aplicações de software, assegurando a integridade dos dados que ela manipula e que são definidos pelo esquema em teste.

Referências

Aranha, M. C. L. F. M.; Mendes, N.C.; Jino, M.; Toledo, C.M.T. (2000) “RDBTool: A Support Tool for Testing Relational Database”. XI ICST, Int. Conference of Software Technology.

Bothner, Per. (2006) “Qexo: The GNU Kawa implementation of XQuery”, http://www.gnu.org/software/qexo/, 2005. Acessado em 2006.

Chan, M.; Cheung, S.. (1999) “Testing Database Applications with SQL Semantics”. In Proceedings of the 2 nd International Symposium on Cooperative Database Systems for Advanced Applications, pp 364-375, March.

Chan, W. K.; Cheung, S. C.; Tse, T. H.. (2005) “Fault-Based Testing of Database Application Programs with Conceptual Data Model”. In Proceedings of the Fifth International Conference on Quality Software, pp 187-196.

Chays, D.; Deng, Yuetang. (2003) “Demonstration of AGENDA Tool Set for Testing Relational Database Applications”. In Proceedings of the 25th International Software Engineering Conference. IEEE Computer Society, pp 802 – 803. May.

Chays, David; Dan, Saikat; Frankl, Phyllis G.; Vokolos, Filippos I.; Weyuker, Elaine J.. (2000) “A Framework for Testing Database Applications”. In Proceedings of the ACM SIGSOFT International Symposium on Software Testing and Analysis, Vol. 25 Issue 5, August.

Chen, P. P.. (1976 ) “The Entity-Relationship Model – Toward a Unified View of Data”. ACM Transactions on Database Systems (TODS), Vol. 1, No 1, pp 9-36.

Deng, Yuetang; Frankl, Phyllis; CHAYS, David. (2005) “Testing Database Transactions with AGENDA”. In Proceedings of the 27th International Conference on Software Engineering. ACM Press, May.

Di Lucca, G.A. e Di Penta, M.. (2003) “Considering Browser Interaction in Web Application Testing”. In Proceedings of the 5th IEEE Intl. Workshop on Web Site Evolution. IEEE Computer Society Press.

Di Lucca, G.A.; Fasolino, A.R.; Faralli, F. e De Carlini, U.. (2002a) “Testing Web applications”. In Proceedings of the International Conference on Software Maintenance, pages 3–6. IEEE Press, October.

Di Lucca, G.A.; Fasolino, A.R.; Pace, F.; Tramontana, P. e De Carlini, U.. (2002b) “WARE: A tool for the Reverse Engineering of Web Applications”. In Proceedings of the VI Eur. Conf. on Software Maintenance and Reengineering. IEEE Computer Society Press, March.

Emer, M. C. F. P.; Vergilio, S. R.; Jino, M. (2007a) “A Fault-Based Testing of Data Schemas”. In Proc. of the 19th Intl. Conference on Software Engineering and Knowledge Engineering (SEKE 2007), July.

Emer, M. C. F. P.; Nazar, I. F.; Vergilio, S. R.; Jino, M. (2007b) “Evaluating a Fault-Based Testing Approach for XML Schemas”. VIII Latin-American Test Workshop. Cuzco, Peru, March.

Emer, M. C. F. P.; Vergilio, S. R.; Jino, M.; Nazar, I. F.; Caxeiro, P. V. (2007c) “Uma Avaliação do Teste Baseado em Defeitos em Esquemas de Banco de Dados Relacional”. In Proc. of the 1st Brazilian Workshop on Systematic and Automated Software Testing (SAST 2007) em conjunto com o XXI Simpósio Brasileiro de Engenharia de Software (SBES 2007), outubro.

Franzotte, L; Vergilio, S.R. (2006) “Applying Mutation Testing to XML Schemas”. In Proc. of the 18th Inl. Conference on Software Engineering and Knowledge Engineering (SEKE2006).

Kapfhammer, Gregory M.; Soffa, Mary Lou. (2003) “A Family of Test Adequacy Criteria for Database-driven Applications”. In Proceedings of the 9th European Software Engineering Conference held jointly with 11th ACM SIGSOFT International Symposium on Foundations of Software Engineering ESEC/FSE-11, Volume 28 Issue 5. ACM Press, September.

Kung, D.C.;. Liu, C.H e Hsia, P.. (2000) “An Object-Oriented Web Test Model for Testing Web Applications”. In Proceedings of the 24th Annual International Computer Software and Applications Conference, COMPSAC 2000, pages 537–542.

Lee, S.C. e Offutt, J.. (2001) “Generating test cases for XML-based web component interactions using mutation analysis”. In Proceedings of the 12th International Symposium on Software Reliability Engineering, pages 200–209. IEEE Press, November.

Li, J. B.; Miller, J. (2005) “Testing the Semantics of W3C XML Schema”. In Proc. of the 29th Annual Intl. Computer Software and Applications Conference (COMPSAC-2005), Julho.

Liu, C.H.; Kung, D.C. e Hsia, P.. (2000a) “Object-based Data Flow Testing of Web Applications”. In Proceedings of the 1 st Asia-Pacific Conference on Quality Software, pages 7–16. IEEE Press.

Liu, C.H.; Kung, D.C.; Hsia, P. e Hsu, C.T.. (2000b) “Structural Testing of Web Applications”. In Proceedings of the 11th International Symposium on Software Reliability Engineering, pages 84–96. IEEE Press.

Offutt, J.; Xu, W. (2004) “Generating Test Cases for Web Services Using Data Perturbation”. In Proceedings of the TAV-WEB, volume 29. ACM SIGSOFT SEN, September.

OMG (2006). “Meta-Object Facility Core Specification Version 2.0”. http://www.omg.org/cgi-bin/doc?formal/2006-01-01, January 2006. (acessado em 2006).

PostGre (2006) “PostGreSQL”, http://www.postgresql.org/docs/, Acessado em 2006.

Ricca, F. e Tonella, P.. (2002) “Analysis and Testing of Web Applications”. In Proceedings of the 23 rd International Conference on Software Maintenance, pages 25–34. IEEE Press, May.

Robbert, M. A.; Maryanski, F. J.. (1991) “Automated Test Plan Generator for Database Application Systems”. In Proceedings of the ACM SIGSAMLL/PC Symposium on Small Systems, pp 100-106.

Suárez-Cabal, M. J.; Tuya, J.. (2004) “Using a SQL Coverage Measurement for Testing Database Applications”. In Proceedings of the 12th International Symposium on the Foundations of Engineering. November.

SUN (2006) “Java Database Connectivity (JDBC)” , [link], Acessado em 2006.

W3C (2006a) “Extensible Markup Language (XML)”, http://www.w3c.org/XML/, Acessado em 2006.

W3C (2006b) “XML Schema”, http://www.w3c.org/XML/Schema/, Acessado em 2006.

W3C (2006c) “Document Object Model (DOM)”, http://www.w3c.org/DOM/, Acessado em 2006.

W3C (2006d) “XML Query Language. (XQuery)”, http://www.w3c.org/XML/Query/. Acessado em 2006.

Xu, W.; Offutt, J. e Luo, J.. (2005) “Testing Web Services by XML Pertubation”. In Proceedings of the 16th IEEE International Symposium on Software Reliability Engineering. IEEE.

Zhang, Jian; Xu, Chen; Cheung, S.-C.. (2001) “Automatic Generation of Database Instances for White-box Testing”. In Proceedings of the 25th Annual International Computer Software and Applications Conference, 2001, pp 161 – 165, October.
Publicado
27/05/2008
Como Citar

Selecione um Formato
NAZAR, Igor F.; EMER, Maria Claudia F. P.; VERGILIO, Silvia R.; JINO, Mario. XTool: Uma Ferramenta de Teste Baseado em Defeitos para Esquemas de Dados. In: WORKSHOP DE TESTES E TOLERÂNCIA A FALHAS (WTF), 9. , 2008, Rio de Janeiro/RJ. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2008 . p. 73-86. ISSN 2595-2684. DOI: https://doi.org/10.5753/wtf.2008.23147.