/
RRF Load and Unload Test Case
RRF Load and Unload Test Case
Overview
Test suite for demonstrating a RRF snapshot load using the mojos.
Implementation
- RrfFullLoadAndUnloadTest
Execution 1
- Run Updatedb mojo in "create" mode to clear the database
- Run Reindex mojo to clear the indexes
- TEST: verify db has no concepts.
- Run the RRF-umls mojo against the sample "config/src/resources/data/SCTMSH_2014AB" data.
- TEST: verify concepts count.
- TEST: verify release info exists
- TODO: ideally we'd verify other types as well.
- Create a "UMLS" project (name="Sample Project" description="Sample project." terminology=UMLS version=latest admin.user=admin)
- TEST: verify there is a project with the expected name
- Start an editing cycle for "UMLS"
- TEST: verify there is a release info with the expected name and "planned" flag equal to true.
- Remove the terminology "SNOMEDCT_US"
- TEST: verify there is a concepts table with no contents for SNOMEDCT_US.
- Remove the terminology "SRC"
- TEST: verify there is a atoms table with no contents for SRC.
- Remove the terminology "MTH"
- TEST: verify there is a atoms table with no contents for MTH.
- Remove the terminology "UMLS"
- TEST: verify there is a concepts table with no contents for UMLS.
- Run the RRF-single mojo against the sample "config/src/resources/data/SCTMSH_2014AB" data for SNOMEDCT_US
- TEST: verify concepts count.
- TEST: verify release info exists
- TODO: ideally we'd verify other types as well.
- Create a "SNOMEDCT_US" project (name="Sample Project" description="Sample project." terminology=SNOMEDCT_US version=latest admin.user=admin)
- TEST: verify there is a project with the expected name
- Start an editing cycle for "SNOMEDCT_US"
- TEST: verify there is a release info with the expected name and "planned" flag equal to true.
- Remove the terminology "SNOMEDCT_US"
- TEST: verify there is a concepts table with no contents for SNOMEDCT_US.
- Re-run "createdb" to restore initial state of the database.
Expected Runtime
- 15 min
Notes
This is mostly a test that the sequence of mojo operations works expectedly with light checks of data conditions. It is expected that more comprehensive checking can be done elsewhere.
References/Links
- n/a