Currently the IntelliJ Setup Guide does not describe the step to exclude resource files from compilation, which is an unavoidable step if we wish to debug via IntelliJ's interface, as described by this comment.
During onboarding, I tried to run tests via IntelliJ Idea's interface (clicking the green triangle) but received build errors stemming from input files. After wasting hours I realized I should exclude these input files as they should not be compiled at all. Below are my Excludes settings:
I believe many newcomers like me start off running tests via Intellij's GUI (which is also demonstrated in this tutorial video), therefore I propose to provide detailed instructions for smoother onboarding experience.
Currently the IntelliJ Setup Guide does not describe the step to exclude resource files from compilation, which is an unavoidable step if we wish to debug via IntelliJ's interface, as described by this comment.
During onboarding, I tried to run tests via IntelliJ Idea's interface (clicking the green triangle) but received build errors stemming from input files. After wasting hours I realized I should exclude these input files as they should not be compiled at all. Below are my Excludes settings:
I believe many newcomers like me start off running tests via Intellij's GUI (which is also demonstrated in this tutorial video), therefore I propose to provide detailed instructions for smoother onboarding experience.