procedures in a BI environment for a generic 
framework as DbUnit. 
The proposed framework (FTUnit) presents test 
cases previously defined which cover the main 
categories of tests applied to loading routines. 
Through a set of metadata that defines the 
characteristics of the routines, the framework selects 
test cases to be applied, generates the initial states of 
the database, executes the routines, performs test 
cases, analyzes the final state of the database and 
generates a report with the errors encountered during 
the execution of each test case. 
By virtue of what we have seen above and the 
framework innovation, the presentation of this 
experiment will support the adoption of the same or 
the creation of a similar approach for companies that 
use this type of strategy. Other contributions 
obtained were: a) Approach to implementing 
software testing in BI environments based on DWs; 
b) Test cases defined for data loading routines in BI 
environments; c) Testing Framework to meet the 
execution of unit tests in a BI environment; d) Use 
of DBUnit for running unit tests in BI environments 
based on DW; e) Experiments show the benefits of 
automated testing in BI environments. 
As future work, it aims to extend the approach to 
various SQL languages, as the experiments carried 
out so far have been only for the T-SQL. 
REFERENCES 
Basili, V. and Weiss, D. (1984), A Methodology for 
Collecting Valid Software Engineering Data, In: IEEE 
Transactions On Software Engineering, v.10 (3): 728-
738, November.  
Colaço Jr. (2004), Projetando sistemas de apoio à decisão 
baseados em Data Warehouse, 1st ed., Rio de Janeiro: 
Axcel Books. 
Cooper, R. and Arbuckle, S. (2002), How to thoroughly 
test a Data Warehouse, Proceedings of STAREAST, 
Orlando. 
Costa, J. K. G., Santos, I. P. O., Nascimento, A. V. R. P., 
Colaço Jr, M (2015), Experimentação na Indústria 
para Aumento da Efetividade da Construção de 
Procedimentos ETL em um Ambiente de Business 
Intelligence. SBSI 2015, May 26–29, Goiânia, Goiás, 
Brazil. 
DbUnit, (2016), http://DbUnit.sourceforge.net/ 
Deshpande, K. (2013), Model Based Testing of Data 
Warehouse, IJCSI International Journal of Computer 
Science Issues, Vol. 10, Issue 2, No 3. 
Elgamal, N., Elbastawissy, A. and Galol-edeen, G. (2013), 
Data Warehouse Testing, EDBT/ICDT ’13, Genoa, 
Italy. 
Golfarelli, M. and Rizzi, S. A. (2009), Comprehensive 
Approach to Data Warehouse Testing, ACM 12th 
International Workshop on Data Warehousing and 
OLAP (DOLAP ’09), Hong Kong, China. 
Inmon, W. H. (2005), Building the Data Warehouse. 4th 
ed., Indianapolis, Indiana: Wiley Publishing Inc. 
Kimball, R. (2004), The Data Warehouse ETL Toolkit. 1st 
ed., Wiley India (P) Ltd. 
Kimball, R. and Ross, M. (2002), The Data Warehouse 
toolkit: The complete Guide to Dimensional Modeling, 
2nd ed., John Wiley and Sons, Inc. 
Kimball, R., Ross, R. M. and Thomthwaite, W. (2008), 
The Data Warehouse lifecycle toolkit, 2nd. ed., 
Indianapolis, Indiana: Wiley Publishing Inc. 
Krawatzeck, R.; Tetzner, A. and Dinter, B. (2015), An 
Evaluation Of Open Source Unit Testing Tools 
Suitable For Data Warehouse Testing, The 19th 
Pacific Asia Conference on Information Systems 
(PACIS). 
Myers, G. J., Badgett, T. and Sandler, C. (2012), The Art 
Of Software Testing, 3rd ed., New Jersey: Wiley. 
Orne, M. T. (1962), Sobre a psicologia social da 
experiência psicológica: Com referência particular 
para exigir características e suas implicações.  
Pressman, R. S. (2011), Engenharia de software: Uma 
abordagem profissional, 7th ed., São Paulo: AMGH 
Editora Ltda. 
Ranjit S. and Kawaljeet, S. (2010), A Descriptive 
Classification of Causes of Data Quality Problems in 
Data Warehousing, 7 v. IJCSI International Journal Of 
Computer Science Issues. 
Santos, I. P. O., Costa, J. K. G., Nascimento, A. V. R. P., 
Colaço Jr, M., (2012), Desevolvimento e Avaliação de 
uma Ferramenta de Geração Automática de Código 
para Ambientes de Apoio à Decisão. In: XII WTICG, 
XII ERBASE (2012). 
Santos, I. P. O., Nascimento, A. V. R. P., Costa, J. K. G.,  
Colaço Jr., M., Pereira, W. P. (2016), Experimentation 
in the Industry for Automation of Unit Testing in a 
Business Intelligence Environment. SEKE the 28
th
 
International Conference on Software Engineering and 
Knowledge Engineering. California, USA. 
Santos, V. and Belo, O. (2011), No Need to Type Slowly 
Changing Dimensions, IADIS International 
Conference Information Systems. 
Singh, R. and Singh, K. (2010), A Descriptive 
Classification of Causes of Data Quality Problems in 
Data Warehouse. IJCSI International Journal of 
Computer Science Issues, Vol. 7, Issue 3, No 2.  
Sommerville, I. (2011), Engenharia de Software. 9th ed., 
São Paulo: Pearson. 
SPSS, IBM Software, (1968), Statistical Package for the 
Social Sciences, http://goo.gl/eXfcT3. 
Wohlin, C., et al. (2000), Experimentation in Software 
Engineering: An introduction. USA: Kluwer 
Academic Publishers.