Issue
I wanted to collect coverage info, but the error message is "At least 5 arguments expected but 1 found." I'm using IntelliJ IDE and maven projects and the Junit test framework. src="https://i.stack.imgur.com/KnCIp.png" alt="enter image description here" />
Also, I noticed that the path of the first argument includes illegal characters, which are not in English and are part of the user name of my computer.
Alternatively, when I switched to Jacoco coverage tool instead of the tool provided by Intellij, the problem was "File Not Found Exception", the path of the file contained illegal characters.
I also tried uninstalling and reinstalling Intellij.
I really do not know how to solve it; I would appreciate it if anyone could give me some help.
Now I configured Jacoco in the POM file for my maven project and ran maven commands to collect code coverage.
Solution
The only solution that I found is to rename windows user. It is a painful operation with modification of regisrty.
Here is the instruction in Russian.
May be you will find the same in English.
Answered By - Affid
Answer Checked By - David Marino (JavaFixing Volunteer)