With Testing Framework, you can define EMF instance models from your query results. You can also modify these models.
Creating snaphot (You can create an .eiqsnapshot file in Query Explorer: right click on a pattern result or the root of the patterns - Save EMF-IncQuery snapshot. Important: this file contains relative path to the instance model, so if you move this file to another folder, you need to check the path.)
You can create your own new .eiqsnapshot or you can add it to an existing one.
- a new EMF instance model is created
- at this time, the query match result will be added to an existing result
EIQ Snapshot Editor
You can modify your .eiqsnapshotmodel here:
- Create new child
- Create new sibling
- Load resource
- Refresh (model)
- Show properties view (more information, depends on context)
- pattern qualified name
- derived value
- parameter name