OpenPonk / openponk

The OpenPonk modeling platform
https://openponk.github.io/
MIT License
43 stars 9 forks source link

[Testing Request] Automatically test that diagram containing any elements it may contain can be saved #115

Open sdasda7777 opened 10 months ago

sdasda7777 commented 10 months ago

Given this bug (i.e. diagram not being saveable due to some method not being implemented for some element) appears regularly, I think it would be useful to automatically test that diagram containing any elements it may ever contain can be successfully saved and loaded.

I don't remember the exact details, but I believe child classes may be enumerated, so that might be useful. However perhaps some elements may not be applicable for some diagrams, in which case perhaps diagrams could have associated traits for elements and edges, whose classes would be enumerated instead?