Uma ferramenta para teste estrutural de regras ativas

AUTOR(ES)
DATA DE PUBLICAÇÃO

2004

RESUMO

Active rules define actions on active databases, activated without the intervention of the user; they are used for the maintenance of a database as well as for controlling diverse other activities. There is few work focusing on the test of rules and the existing ones do not explore the SQL language, one of the most used languages in relational databases. A tool is proposed to support the unit test of active rules - the ART-TOOL (Active Rule Testing Tool). Structural software testing techniques are adapted to support the application of criteria based on data flow analysis to the test of active rules. ARTTOOL provides testing support by means of static and dynamic analyses of active rules involving: determination of the required elements for the criteria; instrumentation of the source code of the rule; execution of the instrumented rule; and coverage analysis of the criteria. An example shows the application of the tool in the test of an active rule. It is also shown, through the test of 15 active rules, that the approach contributes to revealing faults in rules

ASSUNTO(S)

engenharia de software banco de dados relacionais oracle (sistema de computador) sql (linguagem de programação de computador)

Documentos Relacionados