Infinitest not refreshing in IntelliJ IDEA (15) on gradle project

我只是一个虾纸丫 提交于 2019-12-12 02:56:57

问题


The Infinitest plugin under IntelliJ IDEA 15 is not re-running my tests when I change a source file. I wonder if it is because my project is a gradle project. Is there a way to make it refresh automatically?

(It is also Scala code, but I'm using the JUnit test runner, and Infinitest officially supports scala, so I wouldn't think that Scala is the barrier here.)

With a module named "practice", I first added the facet to "practice", changed one of the source files in there, but nothing happened in Infinitest. Tried Ctrl+S, still nothing. Sometimes when I manually recompile the module with Ctrl+F9 then it will refresh.

I also tried adding the facet to "practice_main" and "practice_test" instead of just "practice". I'm not sure which one I'm supposed to add it to in Module Settings.

来源:https://stackoverflow.com/questions/35948582/infinitest-not-refreshing-in-intellij-idea-15-on-gradle-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!