Groups
Sign in
Groups
mockito
Conversations
About
Send feedback
Help
mockito
Contact owners and managers
1–30 of 1231
Mark all as read
Report group
0 selected
Jason Mathison
Jun 21
Unable to build mockito due to PKIX error
Attempting to build the project is resulting in this error: * What went wrong: Could not resolve all
unread,
Unable to build mockito due to PKIX error
Attempting to build the project is resulting in this error: * What went wrong: Could not resolve all
Jun 21
tuk
Mar 15
Mockito 5.3.1 Seeing high heap usage during test execution
Hi With mockito 5.3.1 we are observing that our heap usage has increased during test execution. Most
unread,
Mockito 5.3.1 Seeing high heap usage during test execution
Hi With mockito 5.3.1 we are observing that our heap usage has increased during test execution. Most
Mar 15
Salil Misra
,
Salil Misra
3
Mar 7
Regarding issue number #3262
If you dont bother to reply to the mail thread, why boast about keeping one in your readme file. On
unread,
Regarding issue number #3262
If you dont bother to reply to the mail thread, why boast about keeping one in your readme file. On
Mar 7
Jim McMaster
11/6/23
I am having problems with Mockito asynchronous verification
I am trying to write an integration test for an asynchronous task. I just updated to Mockito 5.7.0.
unread,
I am having problems with Mockito asynchronous verification
I am trying to write an integration test for an asynchronous task. I just updated to Mockito 5.7.0.
11/6/23
Basil Crow
10/27/23
Mocked static methods and constructors are not available in other threads
It would be nice if mocked static methods and constructors were available in other threads, as
unread,
Mocked static methods and constructors are not available in other threads
It would be nice if mocked static methods and constructors were available in other threads, as
10/27/23
Vol Gol
10/27/23
RestrictedIdentifier Error in Eclipse for static import of org.mockito.Mockito.when
I am currently switching to Java 21 so far there are no real problems with Mockito. But one thing is
unread,
RestrictedIdentifier Error in Eclipse for static import of org.mockito.Mockito.when
I am currently switching to Java 21 so far there are no real problems with Mockito. But one thing is
10/27/23
udemy course
8/28/23
How can be stub out the SORT.BY parameter in when() and verify() calls?
How do i stub out the below line of code. List<Workout> workoutList = workoutRepo.findByUserId(
unread,
How can be stub out the SORT.BY parameter in when() and verify() calls?
How do i stub out the below line of code. List<Workout> workoutList = workoutRepo.findByUserId(
8/28/23
童虎
,
Tim van der Lippe
2
8/11/23
Site something is out of date
Happy to review a PR on https://github.com/mockito/mockito.github.io to fix this. Thanks for pointing
unread,
Site something is out of date
Happy to review a PR on https://github.com/mockito/mockito.github.io to fix this. Thanks for pointing
8/11/23
Annavi Kiran
,
Tim van der Lippe
3
8/1/23
is mokito enterprice open source tool as of Aug 2023
Hi Team, Thanks for the reply. Is Mockito open source tool and can we used across company for free.
unread,
is mokito enterprice open source tool as of Aug 2023
Hi Team, Thanks for the reply. Is Mockito open source tool and can we used across company for free.
8/1/23
Jiaqian Sun
5/31/23
How to use Mockito BDD to mock a Class<?> return type method?
I'm having trouble to use Mockito BDD to mock the method whose return type is Class<?> I
unread,
How to use Mockito BDD to mock a Class<?> return type method?
I'm having trouble to use Mockito BDD to mock the method whose return type is Class<?> I
5/31/23
Stefan Bodea
4/28/23
Mockito cannot mock this class: class inventory.repository.InventoryRepository.
Hello, i've got this error: Mockito can only mock non-private & non-final classes. If you
unread,
Mockito cannot mock this class: class inventory.repository.InventoryRepository.
Hello, i've got this error: Mockito can only mock non-private & non-final classes. If you
4/28/23
Thierry Euzenot
,
Brice Dutheil
2
4/24/23
Mockito-inline update site for Eclipse RCP target platform
Hi Thierry, Not sure if it's still relevant for you OSGi is merely adding the necessary entries
unread,
Mockito-inline update site for Eclipse RCP target platform
Hi Thierry, Not sure if it's still relevant for you OSGi is merely adding the necessary entries
4/24/23
Tom Fewster
, …
LINUS FERNANDES
4
3/30/23
It appears as if your JDK does not supply a working agent attachment mechanism.
https://github.com/mockito/mockito/issues/2952 Similar problem encountered with Java 19. Running it
unread,
It appears as if your JDK does not supply a working agent attachment mechanism.
https://github.com/mockito/mockito/issues/2952 Similar problem encountered with Java 19. Running it
3/30/23
Anton Oellerer
2
3/30/23
Mocking is sometimes not applied when running a multi-class testsuite
I fixed this by annotating each class with `@DirtiesContext(classMode = DirtiesContext.ClassMode.
unread,
Mocking is sometimes not applied when running a multi-class testsuite
I fixed this by annotating each class with `@DirtiesContext(classMode = DirtiesContext.ClassMode.
3/30/23
Connor Kolan
3/13/23
Hi there, I tried to mock one of my classes and got this error
[ERROR] testRemoveContextFromInfomodell(unit.setter.KmsSetterTest) Time elapsed: 1.988 s <<<
unread,
Hi there, I tried to mock one of my classes and got this error
[ERROR] testRemoveContextFromInfomodell(unit.setter.KmsSetterTest) Time elapsed: 1.988 s <<<
3/13/23
Jörg von Frantzius
3/10/23
Improved support for generic types in 5.2.0
Hi, I'm happy that PR Feature 2921 generic types by jfrantzius · Pull Request #2923 · mockito/
unread,
Improved support for generic types in 5.2.0
Hi, I'm happy that PR Feature 2921 generic types by jfrantzius · Pull Request #2923 · mockito/
3/10/23
luo weilue
2/11/23
Trouble understanding how a mock is created
Hi people, I am fairly new to mockito and I am trying understand how it works internally. By doing
unread,
Trouble understanding how a mock is created
Hi people, I am fairly new to mockito and I am trying understand how it works internally. By doing
2/11/23
王海航
2/2/23
mockito behaves strange in multiple thread test
Hey, I'm running a scheduler implemented by multiple threads test , and using mockito to mock
unread,
mockito behaves strange in multiple thread test
Hey, I'm running a scheduler implemented by multiple threads test , and using mockito to mock
2/2/23
Kanika Arora
1/19/23
Issue while upgrading mockito version
Hi Team, I have upgraded my mockito version from 3.3.3 to 4.11.0 and all my existing test cases
unread,
Issue while upgrading mockito version
Hi Team, I have upgraded my mockito version from 3.3.3 to 4.11.0 and all my existing test cases
1/19/23
deepak gupta
12/16/22
Inject mock into a Spy
Hi There. class A{ class B; class C; } class C { class D; class E } I want to write unit test for
unread,
Inject mock into a Spy
Hi There. class A{ class B; class C; } class C { class D; class E } I want to write unit test for
12/16/22
Yodgorbek Komilov
9/20/22
lateinit-property-fakeauthrepository-has-not-been-initialized-unit-testing
I am using unit testing when I run test I am getting following exception lateinit property
unread,
lateinit-property-fakeauthrepository-has-not-been-initialized-unit-testing
I am using unit testing when I run test I am getting following exception lateinit property
9/20/22
Flavio Bertini
8/18/22
JUnit for Serial Port method testing
Hello Everyone, I would like to test the method I have implemented for Serial Port communication.
unread,
JUnit for Serial Port method testing
Hello Everyone, I would like to test the method I have implemented for Serial Port communication.
8/18/22
Chris Dams
,
Tim van der Lippe
2
8/16/22
What to do about "illegal reflective access"
You can find more information about this in https://github.com/mockito/mockito/issues/1325 TLDR: use
unread,
What to do about "illegal reflective access"
You can find more information about this in https://github.com/mockito/mockito/issues/1325 TLDR: use
8/16/22
Evie Doe
8/8/22
Mockito AsyncTask
do any one have an Idea to mock an AsyncTask Class method call or is it even possible? because I know
unread,
Mockito AsyncTask
do any one have an Idea to mock an AsyncTask Class method call or is it even possible? because I know
8/8/22
Jitendra Holmes
7/20/22
Mockito Exception
Hi Mockito, org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class com.
unread,
Mockito Exception
Hi Mockito, org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class com.
7/20/22
Bara' Al-Jawarneh
7/11/22
@mock value isn't refelcted when on @InjectMocks
I'm new to Mockito and I was trying to write the unit test for nstead adapters lets say we have I
unread,
@mock value isn't refelcted when on @InjectMocks
I'm new to Mockito and I was trying to write the unit test for nstead adapters lets say we have I
7/11/22
Moustafa Swelam
,
Tim van der Lippe
3
6/13/22
Mockito compatibility with jdk 17
thansk alot On Monday, June 13, 2022 at 10:46:39 AM UTC+2 tvande...@gmail.com wrote: Yes: https://
unread,
Mockito compatibility with jdk 17
thansk alot On Monday, June 13, 2022 at 10:46:39 AM UTC+2 tvande...@gmail.com wrote: Yes: https://
6/13/22
Peter Shankey
6/5/22
Mockito mocking a class instantiated in a method of the class under test
public class Pojo { public Integer convert(String s) { System.out.println("this should be mocked
unread,
Mockito mocking a class instantiated in a method of the class under test
public class Pojo { public Integer convert(String s) { System.out.println("this should be mocked
6/5/22
Stan Tarasov
5/23/22
New method for loading all mocks in test
Hello, We use Mockito in our projects a lot and lately I've been having an idea about adding a
unread,
New method for loading all mocks in test
Hello, We use Mockito in our projects a lot and lately I've been having an idea about adding a
5/23/22
Jean Helou
,
Tim van der Lippe
3
5/10/22
Cannot mock/spy because : final class ... gradle only
Thanks again, adding the dependency to both builds fixed the gradle tests and had no adverse effects
unread,
Cannot mock/spy because : final class ... gradle only
Thanks again, adding the dependency to both builds fixed the gradle tests and had no adverse effects
5/10/22