Missed testFramework.jar  in GO-2020.3.4

Answered

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

 

0
4 comments

I am wrong or is there any way to get the jar?

0

Can anyone from jetbrains help me out?

0

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.

0

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

 

 

 

0

Please sign in to leave a comment.