IntelliJ "Run tests with coverage" is always at 0% and shows a "AccessControlException: access denied ("java.io.FilePermission" "~/Library/Caches/IntelliJIdea2018.1/coverage/coverage-error.log" "write")
已回答
I'm running the elasticsearch gradle project in my IDE.
I'm able to execute tests & debug.
But I'm failing to see any coverage reports.
I've attached a screenshot of my IDE.
请先登录再写评论。
Do you run IDE by the same user who installed it? Any 3rd plugins you have installed?
Please try deleting IDE caches directory.
Yes, it's run by the same user. I have a couple of 3rd party plugins -- eclipse code formatter and other minor plugins.
I deleted the caches directory and tried again.
Still no luck :(
Please try with 3rd plugins disabled. If you have any firewalls/antivirus enabled, please with them disabled.
If problem remains provide idea.log file after IDE restart and reproducing. Also could you check do you have such issue only with this project?