Yes bytebuddy is fully operational and performing better. Though it should be shaded imho, I don’t know how to do it with gradle. I wanted to shade objenesis as well, as it’s used by a lot of project nowadays (spring being the most used)
There’s still some unknown area, like OSGI.
I’d like to keep CGLIB code as an external mockmaker. That’s why I kept the lib and code in the repo. Also it may be needed for Powermock folks. And it could show how a mockmaker could be actually done. Separate source dir was first thought as a way to release bytebuddy mockmaker separately (for example for mockito 1.x users)
IMHO and many people I’ve been involved with is mockito is good as it is nowaday: ie. you don’t have to declare yet another (mockito) dependency
--
You received this message because you are subscribed to the Google Groups "mockito-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mockito-dev...@googlegroups.com.
To post to this group, send email to mocki...@googlegroups.com.
Visit this group at http://groups.google.com/group/mockito-dev.
For more options, visit https://groups.google.com/d/optout.
>Yes bytebuddy is fully operational and performing better.
Cool, cool :)
>Though it should be shaded imho, I don’t know how to do it with gradle
+1
>I wanted to shade objenesis as well, as it’s used by a lot of project nowadays (spring being the most used)
-1. unshaded objenesis never failed us so far. I'm feeling lucky :)
>There’s still some unknown area, like OSGI.
Let's not worry too much about OSGi, I will remove the ugly ant code that does the current OSGi stuff and replace it with native gradle. I expect user reports that 2.* does not work correctly. We will fix this after 2.0 final.
>I’d like to keep CGLIB code as an external mockmaker.
You mean external jar? +1
>eparate source dir was first thought as a way to release bytebuddy mockmaker separately (for example for mockito 1.x users)
Ok. Do you mind if I move it to src?
>IMHO and many people I’ve been involved with is mockito is good as it is nowaday: ie. you don’t have to declare yet another (mockito) dependency
I agree. mockito-core should provide all the good defaults and no other jars are needed. However, when someone wants different mockmaker, he can declare dependency on mockito-base and mockito-cglib. Thoughts?
Cheers!
I’d like to keep CGLIB code as an external mockmaker.
You mean external jar? +1
Yes as an external jar
eparate source dir was first thought as a way to release bytebuddy mockmaker separately (for example for mockito 1.x users)
Ok. Do you mind if I move it to src?
Nope
I agree. mockito-core should provide all the good defaults and no other jars are needed. However, when someone wants different mockmaker, he can declare dependency on mockito-base and mockito-cglib. Thoughts?
Yes that’s the idea. A mockmaker is somehow an override of the mockito good defaults.
— Brice
Do we want to ship mockito-core with cglib mockmaker? I'd rather not...
Do we want to ship mockito-core with cglib mockmaker?
Nope :)
+1