ETLDiff: A Semi-automatic Framework for Regression Test of ETL Software

Modern software development methods such as Extreme Programming (XP) favor the use of frequently repeated tests, so-called regression tests, to catch new errors when software is updated or tuned, by checking that the software still produces the right results for a reference input. Regression testing is also very valuable for Extract–Transform–Load (ETL) software, as ETL software tends to be very complex and error-prone. However, regression testing of ETL software is currently cumbersome and requires large manual efforts. In this paper, we describe a novel, easy–to–use, and efficient semi–automatic test framework for regression test of ETL software. By automatically analyzing the schema, the tool detects how tables are related, and uses this knowledge, along with optional user specifications, to determine exactly what data warehouse (DW) data should be identical across test ETL runs, leaving out change-prone values such as surrogate keys. The framework also provides tools for quickly detecting and displaying differences between the current ETL results and the reference results. In summary, manual work for test setup is reduced to a minimum, while still ensuring an efficient testing procedure.

[1]  Torben Bach Pedersen,et al.  RelaXML: bidirectional transfer between relational and XML data , 2005, 9th International Database Engineering & Application Symposium (IDEAS'05).

[2]  Ramzi A. Haraty,et al.  Regression testing of database applications , 2001, SAC.

[3]  Ralph Kimball,et al.  The Data Warehouse Lifecycle Toolkit: Expert Methods for Designing, Developing and Deploying Data Warehouses with CD Rom , 1998 .

[4]  Suzanne M. Embury,et al.  A safe regression test selection technique for database-driven applications , 2005, 21st IEEE International Conference on Software Maintenance (ICSM'05).

[5]  Kent L. Beck,et al.  Extreme programming explained - embrace change , 1990 .

[6]  Torben Bach Pedersen,et al.  Discovering Multidimensional Structure in Relational Data , 2004, DaWaK.

[7]  Kristian Torp,et al.  A Unit-Test Framework for Database Applications , 2006, 2006 10th International Database Engineering and Applications Symposium (IDEAS'06).

[8]  Gregory Cobena,et al.  A comparative study for XML change detection , 2002, BDA.

[9]  Phyllis G. Frankl,et al.  A framework for testing database applications , 2000, ISSTA '00.