spek icon indicating copy to clipboard operation
spek copied to clipboard

Selector (Class/Method) doesn't work (Junit5 + Spek2)

Open dymaxionuk opened this issue 7 years ago • 1 comments

Context: A (kotlin) project containing both JUnit5 and Spek2 tests, using the Junit5 engine.

When running a JUnit5 test by class, and/or method, the Spek2 tests are also selected for running (even though from a different package/class/method

Initially filed against IntelliJ IDEA, but the team responded and believe it's an issue with the MethodSelector/ClassSelector since the IDE is correctly passing these params through to JUnit engine as witnessed by the command line str, but Spek2 runner doesn't appear to honour the filter.

https://youtrack.jetbrains.com/issue/IDEA-204183

dymaxionuk avatar Dec 17 '18 02:12 dymaxionuk

Related to #519 and fixed in #520. I'm hoping to do a GA release before the 🎄 .

raniejade avatar Dec 17 '18 04:12 raniejade