Margaret Eldridge · @pragmaticmarg
92 followers · 363 posts · Server hachyderm.io

#java #mockito #testing

Last updated 1 year ago

Jens · @schegge42
33 followers · 402 posts · Server nrw.social

Statische Methoden mocken mit Mockito

Hin und wieder entdeckt man als Software Entwickler ein Feature in einer Bibliothek wieder, dass man schon zweimal vergessen hat. Wenn man dieses wiederentdeckte Wissen mit einem Kollegen teilen kann, dann ist es nicht nur schön sondern verbessert auch noch die Qualität der täglichen Arbeit.

schegge.de/2023/06/statische-m

#bestpractices #java #test #Junit #mockito #unittest

Last updated 1 year ago

Margaret Eldridge · @pragmaticmarg
90 followers · 347 posts · Server hachyderm.io

JDK 21 will add a warning if agent are loaded dynamically (JEP 451). Later versions may require to add `-XX:+EnableDynamicAgentLoading `. This increases security, on the other hand this also prevents some use cases without the flag: like tests with , ad-hoc troubleshooting, among others.

#mockito

Last updated 1 year ago

Margaret Eldridge · @pragmaticmarg
86 followers · 338 posts · Server hachyderm.io

Learn about using a delay when verifying a method call on a mock In Mockito:

medium.com/pragmatic-programme

Ken's @kenkousen Mockito ebook is available at half price for a few more days with code SPRING2023:
pragprog.com/titles/mockito/mo

#java #mockito #testing #tdd

Last updated 1 year ago

Margaret Eldridge · @pragmaticmarg
82 followers · 319 posts · Server hachyderm.io

Some tips from @kenkousen on using Mockito’s inline mock maker to test Java classes whose dependencies are either final classes or classes containing final methods:

medium.com/pragmatic-programme

Ken's book:
pragprog.com/titles/mockito/mo

#java #testing #mockito #tdd

Last updated 2 years ago

Margaret Eldridge · @pragmaticmarg
82 followers · 303 posts · Server hachyderm.io

What's the difference between Mockito and BDDMockito? @kenkousen explains in this article:
medium.com/pragmatic-programme

#java #bdd #testing #mockito

Last updated 2 years ago

Margaret Eldridge · @pragmaticmarg
81 followers · 289 posts · Server hachyderm.io
Margaret Eldridge · @pragmaticmarg
77 followers · 265 posts · Server hachyderm.io
Margaret Eldridge · @pragmaticmarg
72 followers · 241 posts · Server hachyderm.io
Ken Kousen :verified: · @kenkousen
494 followers · 182 posts · Server mastodon.social

Video version of Tales from the jar side, about my new Mockito video, Reactive Spring, and tweets and toots
youtu.be/DB1qP97Jv6g

#java #mockito #spring #talesfromthejarside

Last updated 2 years ago

Ken Kousen :verified: · @kenkousen
494 followers · 181 posts · Server mastodon.social

Tales from the jar side: A new Mockito video, Reacting to Reactive Spring, and Tweets and Toots
kenkousen.substack.com/p/tales

#java #mockito #testing

Last updated 2 years ago

Ken Kousen :verified: · @kenkousen
493 followers · 177 posts · Server mastodon.social

Setting up Mockito youtu.be/ylIQGVGLtQs in a Java project, using both Gradle and/or Maven

#java #mockito #gradle #maven #talesfromthejarside

Last updated 2 years ago

Margaret Eldridge · @pragmaticmarg
71 followers · 204 posts · Server hachyderm.io

Create a mock to verify that an algorithm is implemented properly to see how mocks can help you to test Java code:

tinyurl.com/bddhsma5

Pick up Ken's @kenkousen Mockito book:
pragprog.com/titles/mockito

#java #tdd #mockito

Last updated 2 years ago

Ken Kousen :verified: · @kenkousen
495 followers · 171 posts · Server mastodon.social

This week's Tales from the jar side includes a new Mockito video, my appearance at CodeRanch, a note about saving daylight at the South Pole, how AI tools are a blurry JPEG of the web, and assorted tweets and toots
kenkousen.substack.com/p/tales

#java #mockito #chatgpt

Last updated 2 years ago

Ken Kousen :verified: · @kenkousen
494 followers · 165 posts · Server mastodon.social
Ken Kousen :verified: · @kenkousen
492 followers · 164 posts · Server mastodon.social

Video version of Tales from the jar side now available! What it means when no one makes the first jump, LTS versions of Java, a new Mockito video, and other tweets and toots youtu.be/6GUbsu4h9fg

#java #mockito

Last updated 2 years ago

Ken Kousen :verified: · @kenkousen
489 followers · 155 posts · Server mastodon.social

Tales from the jar side, this week about how if nobody makes the first jump, it's a bad test, a comment on Java LTS versions, the temptations of curmudgeon mode, a new Mockito video, and other tweets and toots

kenkousen.substack.com/p/tales

#java #mockito #teaching

Last updated 2 years ago

Pragmatic Bookshelf · @pragprog
841 followers · 834 posts · Server techhub.social

RT @kenkousen
Why Use Mockito At All? A new "Tales from the jar side" video from @kenkousen
youtu.be/IRYYL61-GNk

#java #mockito #testing

Last updated 2 years ago