Play Framework code coverage in Intellij IDEA 14

I created a simple Play 2.x program in Intellij IDEA 14.1.4 and decided to run tests with code coverage. Here's what I can choose:

options

I've tried both, and when I actually run the tests with code coverage, I get the following error:

With the first option:

first option

With the second:

second option

The test code was generated by IDEA and I don't think it matters.

As I found out, the problem may be in my username, as it contains Russian characters. A normal test run works fine and it only fails when I try to work with code coverage, which proves the username theory.

"C: \ Program Files \ Java \ jdk1.8.0_45 \ bin \ java" -ea "-javaagent: C: \ Program Files (x86) \ JetBrains \ IntelliJ IDEA 14.1.4 \ plugins \ coverage \ lib \ coverage-agent .jar = C: \ Users \ ps \ AppData \ Local \ Temp \ coverage0args "

C: \ Users \ ps \

However, I couldn't find a solution as I just don't know what to look for.

+3


source to share





All Articles