Community
Participate
Working Groups
I noticed that we often get regressions concerning the actions in the ModelExplorer. So we need JUnit tests to avoid this kind of problems. In a first time, I think that the most critical actions are Delete and Rename. The JUnit should tests : - the enabled/disabled of the handler for the actions - when it is possible, we should execute the handler to verify that the action is correctly executed - when it is possible, we should test undo and redo too
In R5743 (branch) a first commit for the plugin oep.modelexplorer.test The JUnit tests succeeded on branch (not yet tested on trunk). Currently, the Rename and the Delete actions are tested. For the moment, we test the handler activation, but not the execution of the command (excepted for Delete UML Element).
In R5795 : new project : oep.papyrus.test.common which will provide common methods for JUnit tests
Duplicate of the bug 379150. *** This bug has been marked as a duplicate of bug 379150 ***