These are chat archives for etorreborre/specs2

14th
Jun 2018
Vamsi Ampolu
@vamsiampolu
Jun 14 2018 06:59

How can I do partial mocks on a single method using specs2-mock?

def authLambdaMock = mock[MyHandler.authenticateUser]

when using the following traits:

class MyHandlerSpec extends Specification with Tables with Mockito

for the version 4.2.0 of specs2 and specs2-mock

Vamsi Ampolu
@vamsiampolu
Jun 14 2018 08:20
specs 2 Java class net.bytebuddy.dynamic.scaffold.TypeInitializer.None is not a value
when I do the above
Eric Torreborre
@etorreborre
Jun 14 2018 13:34
Omg I never saw this one before. Maybe you can check the exact version of mockito you are using and make sure that you are using the same one as specs2 4.2.0
Keir Lawson
@keirlawson
Jun 14 2018 15:14
Hullo, a couple of colleagues and I were planning on using our office hackathon next week to do some specs2 contributions (likely around Cats integration), was wondering what the best way for us to communicate what we want to work on/what actually makes sense for specs2? Should we open issues corresponding with what we might work on?
Eric Torreborre
@etorreborre
Jun 14 2018 16:43
Yes please open one or several issues, I will add comments if needed
Very nice initiative btw 🤗
Keir Lawson
@keirlawson
Jun 14 2018 16:49
Ok, will do, not sure how much we will achieve in a couple of days as were all fairly new to Scala but will give it our best shot 🙂