No tests found for given includes & jarFiles is not set for PluginDescriptor

Answered

After update to 2021.3, when running my tests, I got this error: No tests found for given includes: [MyTestClass](--tests filter). 

Then I cloned your template project at https://github.com/JetBrains/intellij-platform-plugin-template

After update to 2021.3 too, the same error occured. 

To solve the problem above, I tried to set

settings -> Build, Execution, Deployment -> Gradle -> Run tests using

with Intellij IDEA, then another exception occured:

And I've looking for the answer at :https://intellij-support.jetbrains.com/hc/en-us/community/posts/4407334950290-jarFiles-is-not-set-for-PluginDescriptor?page=1#community_comment_4414140940562

But it didn't work at all.

By the way, my idea version is:

Please, waiting for your reply

1 comment

Please sign in to leave a comment.