upgrading mockito – forwards and backwards

Main menu:

Topics

Recent Posts

Feeds

RSS Feed RSS - Posts

September 2017
M T W T F S S
« Aug    
 123
45678910
11121314151617
18192021222324
252627282930  

Past Posts

Java/Java EE

JDBC

Other

Archive for the tag "Java/Java EE"

upgrading mockito – forwards and backwards

September 9th, 2017 by Jeanne Boyarsky

I upgraded Mockito from 1.X to 2.X. (Because I wanted to try out the JUnit 5 MockitoExtension. JUnit 4 I like @RunWith(MockitoJUnitRunner.class). The two main benefits: Inject mocks as instance variables instead of static call to MockitoAnnotations.initMocks(this); Tells you about unnecessary mock setup calls you have. JUnit 5 Instead of the Mockito Runner, you use @ExtendWith(MockitoExtension.class). This was written […]

eclipse and line wrapping

July 2nd, 2017 by Jeanne Boyarsky

Last month, a co-worker referenced an Eclipse setting that I wish I’ve known about for years.  With streams, I typically indent code like: Then I’d let Eclipse format the code and it would turn into a one (or two) line wall of text. I’ve been “solving” that problem by adding comments before some of the […]

java @ speed: making the most of modern hardware – live blogging from qcon

June 26th, 2017 by Jeanne Boyarsky

Java @Speed – Making the most of modern hardware Speaker: Gil Tene See the list of all blog posts from the conference duct tape engineering should only be done when absolutely necessary We think of speed as a number. But it’s not a quality without a context. Are you fast when you deploy? When at […]