How QA in data warehouse management has evolved. Part 2

In the previous article, I described the problems that we encountered at the very beginning of the formation of QA processes in our repository, as well as the first steps to fix them. In this article I will tell you how we dealt with the remaining problems, what tools we used and what our plans are.





So let's go!





, :





  • .





  • .





  • .





  • .





  • .





, , flow.





(vial, live test)

vial live — ETL-. , test- , vial. , vial , - test.





: .





: , .





Distribution of testing stages between circuits

:





  • ;





  • test - .





test?

-, test . , . , , , - , , ETL- . .





-, vial . , ( ) vial prod. test.





, test’ .





test flow ?





, :





  • ;





  • ;





  • .





, .





QA- / - . ( ).





, - - . test- , . .





, .





The present

, . . .





Components of automation

, .





, , , , .





— -, , QA-, , , .





Displaying a Package in the Automation Portal

?





  • .





  • .





  • .





  • .





  • .





  • .





. , , . , .





— , .





, — , vial- - .





20:30, . , Jira «». , . .





QA ( , , ) .





An example of a slack channel and error messages in it
slack-

vial , . slack-.





Autocheck results in slack channel
slack-

, ! .





, :





  • ;





  • .





Menu for launching a review on the automation portal

, . . .





, ETL- , ETL- , .





.





Meta-review

SAS Data Integration Studio. SAS- — . , SAS- , .





, , , . , GP, . .





Package-review

— VCS -, , , , .





Package-review -. , , , , , , . package-review -, , .





Diff-review

python-, diff-.





Log-review

.





, . python + pytest , :





  • .





  • , .





  • Allure.





: . , ETL- , . : .





?





  • Static — , ETL-.





  • BI — SAP BO .





  • — ETL- .





  • Work — / , .





.





, :





  • .





  • .





  • .





. ?





  • MG ( ), , .





  • vial, .





, ( DB- ), — - .





:





  • .





  • 80—90%.





  • .





, , BI , .





, python, SQL-, .





?





  • ddl(‘_’) — DDL- , .





  • profile(‘_’) — ( , . .).





  • dq_check(‘_’, ‘’) — , NULL , .





  • compare_(‘1’, ‘2’, ‘’) — , .





Compare() , , .





, (12 987 767 234 ) , order_id 9 458 234 .





An example of the result of the compare () function
compare()

ETL- — , — .





compare() . : , ( ).





- Allure

Allure - , , , , . , vial, -.





, . , . : , . .





python, QA- , .





. , — .





QA-, . . , .





flow.





:





  • — vial .





  • — . , .





  • — vial/live, live — .





  • — .





  • ( , ) — , .





, , , — .





, — QA.





, .





The future is beautiful far away

?





  • QA.





  • QA — QA SRE.





  • .





  • .





vial, . , .





, , SQL- ( ), ETL-, .





, . QA .





, , .





: . .





DWH , .





:





  • , : , / , , . .





  • :  , , . .





  • , .





, .





, QA , . , . .





, !








All Articles