Closed hannesstruss closed 7 years ago
@hannesstruss sorry I know it's a bit too late. Are you using the JUnit 4 runner?
@raniejade no worries :)
I think I'm not using JUnit 4. I did not annotate my tests with @RunWith(JUnitPlatform::class)
. Here's an example project which reproduces the issue: https://github.com/hannesstruss/spekplugintest
I have a fix, going to include it the next release. For now avoid using '
in your test names and exception messages.
Thanks a lot! 🙌
Can confirm this is fixed in 0.3.0 – thanks again!
Given this spec:
Both tests should be listed as failed in Idea, but only the second one does while the first one seems to be running indeterminately:
I found the difference that causes the behavior is the apostrophe (
'
) contained in the first test's exception message.