I notice that, when I'm using
StringSpec
and I have a particularly long test name, and split it up on separate lines, like this:
"Given blah blah blah blah blah blah" +
" - When blah blah blah" +
" - Then blah blah blah" {
TODO()
}
Then the test name in the Intellij run window will be truncated to just
- Then blah blah blah
.
To remedy, I tried putting the concatenation in parens:
("Given blah blah blah blah blah blah" +
" - When blah blah blah" +
" - Then blah blah blah") {
TODO()
}
This fixed the test name displayed in the run window.
But the plugin no longer recognized the test, I think. Because it removed the single green arrow gutter icon from that test in IntelliJ.
Is there a workaround that avoids both problems?
Thanks!