Examine JUnit test cases for migration needs prior to launching them
Current situation
The migration service is not applied to models that are programmatically loaded. Instead, it is launched when projects are discovered in the runtime workspace. This applies to existing models and imported ones that are copied to this workspace.
Proposed resolution
Add an extra utility method for model loading from test cases. It shall check whether migration is needed and fail the test if a model update is needed. These updates can only be done manually, so it is better to fail early than failing test cases when a model migrator is removed.
(from redmine: issue id 3838, created on 2019-10-08, closed on 2020-05-11)
- Relations:
- precedes #3993 (closed)