Summary: | Introduce a generic mechanism and API to pass configuration options to Sessions | ||
---|---|---|---|
Product: | [Modeling] Sirius | Reporter: | Pierre-Charles David <pierre-charles.david> |
Component: | Core | Assignee: | Project inbox <sirius.core-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | esteban.dugueperoux |
Version: | 1.0.0 | Keywords: | triaged |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=458999 | ||
Whiteboard: |
Description
Pierre-Charles David
2014-12-30 05:31:37 EST
Important note: making the session's behavior more configurable will have a potentially huge impact on testing: 1. Some tests will only make sense when running with specific options set. This will not be obvious as currently the tests do no make explicit their assumptions. 2. Tests which should work fine with different configurations will only be run with the default one. Ideally, each test should declare its assumptions in how the session is configured, and we should be able to run them with random combinations of all other options (iterating in the configuration space). Note that this problem is not created by the introduction of a options/configuration API. It is already here with the implicit configuration points we already have (e.g. we have tests about session "dirtyness" and workspace synchnronization, but they only run with the default saving policy). This point is probably partially out of scope for this ticket, but should be kept in mind and will probably need to be treated in some way in the future. In context of this bugzilla, we could manage optionnal unregistration of CrossReferencer at session closing to speed up it. Moving out of the 4.0 scope for now, along with all the other issues which were there "by default". This does not mean some of these will not be re-integrated at some point, but for now these issues are not part of the roadmap for 4.0. If you feel strongly about this removal from 4.0 and/or are ready to sponsor the corresponding work, feel free to comment. |