You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I'm using mockk1.12.5 in a Kotlin project built with Maven and it seems like that exceptions happening during the initialization of the mocks are just, somehow, swallowed making Surefire to not discover/run any test within a test class.
For example, with mvn clean test:
The same, with mvn clean test -X:
I tried updating mockk to mockk-jvm1.13.2 and that version correctly detects the issue but then, for some reason, when mocking objects, somehow the real objects are instantiated - although wrongly - causing NPEs.
The text was updated successfully, but these errors were encountered:
Hello.
I'm using
mockk
1.12.5
in aKotlin
project built withMaven
and it seems like that exceptions happening during the initialization of the mocks are just, somehow, swallowed makingSurefire
to not discover/run any test within a test class.For example, with
mvn clean test
:The same, with
mvn clean test -X
:I tried updating
mockk
tomockk-jvm
1.13.2
and that version correctly detects the issue but then, for some reason, when mocking objects, somehow the real objects are instantiated - although wrongly - causing NPEs.The text was updated successfully, but these errors were encountered: