Testing GUI component


We have many tests for our plugin via `com.intellij.openapi.externalSystem.test.ExternalSystemImportingTestCase`, however it does not cover any front on GUI. For example, if I implemented some GUI behavior under `com.intellij.openapi.components.ProjectComponent#projectOpened` to automatically open project view on project open, what would be recommended way to make sure the GUI component is also behaving correctly? Are there existing examples I can follow? 

1 comment
Comment actions Permalink

Hi, this base test class was intended to use mostly in a headless mode. However you could try to add assertions for GUI models after the import. You can find some samples in com.intellij.ide.projectWizard.ProjectWizardTestCase and in it's inheritors.


Please sign in to leave a comment.