The idea would be for the automated testing to make sure that all values/fields from that test cases CSV (which could probably be mutualized with other organizations' use cases) are correctly imported in an OCL source using the new UI bulk import tool, and that a dictionary populated with that source is correctly imported in OpenMRS using the OCL subscription module. Otherwise, we would have to verify each term individually every time we have new terms/implementations, or for regression testing in both OCL sources and OpenMRS.
Discussion on Talk: https://talk.openmrs.org/t/automated-tests-for-the-ocl-module/34657
Test cases (to be consolidated with other use cases from other implementers): https://github.com/DWB-eHealth/msfocp-source/blob/main/OCL_SourceImport_TestCases.csv
What we need is an established test dictionary in OCL we can use for this. We can then set up a process to:
- Cut a new release of the dictionary
- Install the dictionary into an OpenMRS instance using the OCL Subscription module
- Verify that the correct metadata is setup