Interview Questions   Tutorials   Discussions   Programs   

Cognos - What is the automation tool used for data warehouse testing?

asked mar October 5, 2014 03:27 AM  

What is the automation tool used for data warehouse testing?


1 Answers

answered By vishnoiprem   0  

Data warehouse (DW) testing is a far cry from functional testing. As testers, we need to let the team know if the DW dimension, fact, and bridge tables are getting the right data from all the source databases, storing it in such a way as to allow users to build reports, and keeping it current. We are using automated tests as one of our test approaches. Contrary to popular belief, we found DW testing to be an excellent place to build and reuse automated tests. We came up with a simple automated test template that is allowing testers who have never done test automation to build up a pretty sweet library of automated tests. Here's how it works: Our automation engineer built us a test with two main parameters we pass in; a SQL statement for source data and a SQL statement for target data. The test compares the two record sets, including all data values and asserts they are equal. As the programmers build the various DW dimension, fact, and bridge tables, the testers copy and paste said automated test, and swap out the SQL with their SQL for the current test subject. One of our most important tests is to rebuild the programmer's SQL ourselves, which is a manual process. If the tester's datasets don't match the DW, there may be a problem. This is where most of the defects are found. As we manually build our SQL, we plug it into an automated test that actually compares every record and column data value on millions of rows, and tells us where the differences are. The byproduct is an automated regression test. Sure, rebuilding much of what the programmers did is challenging. We've had to learn case statements, cross DB joins, data type casting, and keep our heads straight while working through queries that include 30 or more joins. But normally it's fun and easy to get help from Google or our programmers. We've been getting one or more automated tests completed for each dimension, fact, or bridge table; sometimes as early as in the development environment. When the DW is deployed to various environments, we normally just execute our automated tests and interpret the results. It's quite beautiful. I’ll blog about some of the other tests we execute. There appears to be a shortage of pragmatic DW test ideas out there.

We have prepared automation Using python and unix shel script tp do automation

1- it will cheek syntax and all parameter 2-Deploy code 3-Env variable check 4-Execute code 5-count validation

   add comment

Your answer

Join with account you already have



 Write A Tutorials
Online-Classroom Classes

  1 person following this question

  1 person following this tag

  Question tags

cognos × 1

Asked 1 year and 1 month ago ago
Number of Views -735
Number of Answers -1
Last updated
2 years and 22 days ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!