This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
documentation:software:whiterabbit:test_framework [2017/12/13 08:23] schuemie [Test whether the CDM data meets expectations] |
documentation:software:whiterabbit:test_framework [2020/02/18 14:13] (current) maximmoinat |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Rabbit-In-a-Hat testing framework ====== | ====== Rabbit-In-a-Hat testing framework ====== | ||
+ | |||
+ | **NOTICE FEB 2020:** the current documentation can be found on Github | ||
+ | http://ohdsi.github.io/WhiteRabbit/riah_test_framework.html | ||
+ | |||
Rabbit-In-a-Hat can generate a framework for creating a set of [[https://en.wikipedia.org/wiki/Unit_testing|unit tests]]. The framework consists of a set of R functions tailored to the source and target schema in your ETL. These functions can then be used to define the unit tests. | Rabbit-In-a-Hat can generate a framework for creating a set of [[https://en.wikipedia.org/wiki/Unit_testing|unit tests]]. The framework consists of a set of R functions tailored to the source and target schema in your ETL. These functions can then be used to define the unit tests. | ||
Line 93: | Line 97: | ||
==== Run your ETL on the test data ==== | ==== Run your ETL on the test data ==== | ||
- | Now that the test source data is populated. You can run the ETL process you would like to test. | + | Now that the test source data is populated. You can run the ETL process you would like to test. The ETL should transform the data in ''nativeTestSchema'' to CDM data in ''cdmTestSchema''. |
==== Test whether the CDM data meets expectations ==== | ==== Test whether the CDM data meets expectations ==== |