Unit Testing Custom Toolwindow
已回答
Hello!
I have created a custom toolwindow using the ToolWindowFactory and I couldn't find any documentation on how to Unit Test a toolwindow. Should I test the functionality/ the UI/ … and how should I write these tests?
Thank you in advance!
请先登录再写评论。
Hi,
There is no official documentation about testing tool windows. You can vote on the issue I created here: https://youtrack.jetbrains.com/issue/IJSDK-2115/Document-testing-tool-windows
There is no recommended approach, and it depends on your personal testing preferences or needs.
You can also try to find some examples in the intellij-community sources, e.g.:
Thank you, Karol!