/
RF2 Snapshot and Delta Load and Unload Test Suite
RF2 Snapshot and Delta Load and Unload Test Suite
Overview
Test suite for demonstrating a snapshot RF2 load followed by a delta load using the mojos. This simulates the activities of the load.bat script.
Procedure
- Run Updatedb mojo in "create" mode to clear the database
- TEST: verify there is a concepts table with no contents
- Run Reindex mojo to clear the indexes
- TEST: verify there is a ConceptJpa index with no contents.
- Run the RF2-snapshot mojo against the sample config/src/resources/data/snomedct-20140731-mini" data.
- TEST: verify each content table exists with the expected number of entries.
- Run the RF2-delta mojo against the sample config/src/resources/data/snomedct-20150131-delta" data.
- TEST: verify changes of each component type.
- Create a "SNOMEDCT" project (name="Sample Project" description="Sample project." terminology=SNOMEDCT version=latest scope.concepts=138875005 scope.descendants.flag=true admin.user=admin)
- TEST: verify there is a project with the expected name
- Start an editing cycle for "SNOMEDCT"
- TEST: verify there is a release info with the expected name and "planned" flag equal to true.
- Remove the terminology "SNOMEDCT" with version "latest"
- TEST: verify there is a concepts table with no contents.
Expected Runtime
- 10 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 or added here later.
References/Links
- n/a