scala failed test message escaped
I'm using https://github.com/MrPowers/spark-fast-tests for testing spark applications.
As you can see at https://github.com/MrPowers/spark-fast-tests/blob/master/src/main/scala/com/github/mrpowers/spark/fast/tests/DatasetComparer.scala#L50 it adds '\n' to its test failed message to ease reading. However the scala plugin escapes the message, as can be seen at https://github.com/JetBrains/intellij-scala/blob/bdc042af8bd46826404c1720fbd151bcc6c8f575/scala/runners/src/org/jetbrains/plugins/scala/testingSupport/scalaTest/ScalaTestReporterWithLocation.java#L110 which turns the new lines to "|n" which makes the message really hard to parse.
Can this escaping become configurable?
请先登录再写评论。
Hello! Sorry for the long response.
Could you please provide a reproducible sample test?
The escaped newlines should be unescaped before being sent to console (and that seems to work fine for simple cases). Probably there is some specific issue with the case you encounter.
Thank you.
I've made a repro at https://github.com/dvirtz/intellij-escaped-output-bug