[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] pde and visual tests

I want make test automation for just visual aspect of my plugins. For example i have editor, my junit test is like this
...


public class TestOpenMyEditorAction extends TestCase {
    public void testRunAcion() {
        IWorkbenchWindow activeWorkbenchWindow = MyPlugin.getDefault()
                .getWorkbench().getActiveWorkbenchWindow();

        new MyAction(activeWorkbenchWindow).run();
    }

}
I found that pde junit test runner can stay alive in debug mode but if i want check only visual aspect (example - layout managers works ) it is unusable.
Is any method for run workbench and display any view/editor etc?


Robert