Here's the full stacktrace. Using version 2.0.1, w...
# spek
s
Here's the full stacktrace. Using version 2.0.1, when I run the
jvmTest
task in a Kotlin MP project
r
Do you have tests on the default package? Or a scope that have an empty description?
s
Tests are all on the default package
I saw that 2.0.2 was released today so I'll try upgrading and see if that fixes anything once its on maven
r
Not sure if it
2.0.2
will fix your problem, in the mean time can you not use the default package?
s
Sorry, I misread your first comment. My project structure is
src > jvmTest > kotlin > org.mycompany.project > tests
, not a default package (which I'm assuming means just no package at all)
Taking the tests out of the package has the same error. Changing the name of the package to something other than the rest of the project also gives same error 😞
r
Ahh, weird. Do you have a scope that have an empty description?
s
Nope 😞
r
Are you able to pass me a sample project that replicates the issue?
It’s probably one of your tests that is causing an issue. One thing you could do is ignoring them all first (you can use
@Ignore
). Then slowly remove
@Ignore
and for every step run the test.
s
Sorry, was out for a few days. It was an issue with one of my tests. I've used
@Ignore
for now, will try to debug later. Thank you!