Missed testFramework.jar in GO-2020.3.4
已回答
I am following the menu https://plugins.jetbrains.com/docs/intellij/tests-and-fixtures.html to write a unit test for my go plugin.
I found there is no BasePlatformTestCase.class in GO-2020.3.
I did a check, I found the class is in jar testFramework.jar in IC-2020.3
it seems that GO-2020.3 missed the testFramework.jar
请先登录再写评论。
I am wrong or is there any way to get the jar?
Can anyone from jetbrains help me out?
Unfortunately, testFramework.jar is not available on that platform. You can target the IntelliJ SDK and use Go plugin as a dependency.
Check GoLand Plugin Development for more details.
Thank you very much! finally I can use the test framework successfully by manual add the dependency.
but I run into issue. please refer to the link https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010608100-how-to-get-Go-PSI-user-defined-type-s-definition-?page=1#community_comment_360002974080
The same code works well with gradle runIde command