Blog: solidsoft (Marcin Zajaczkowski)

219 blogs updated: 2 min. ago
Convenient mocking in Mockito with JUnit 5 – the official way
Starting with the version 2.17.0 Mockito provides the official (built-in) support for managing a mocking life cycle if JUnit 5 is used. Gett...
27-03-2018 11:12:02 solidsoft (Marcin Zajaczkowski) Advanced
How fast (or slow) mutation testing really is?
Get know how fast (or slow) mutation testing in fact is (based on tangible results from the real FOSS projects) and how can it be optimized ...
20-09-2017 10:47:35 solidsoft (Marcin Zajaczkowski) Advanced
Modern TDD-oriented Java 8 JUnit test template for Idea (with Mockito and AssertJ)
Tune up your JUnit test class template for Idea with the BDD-like syntax, Java 8 and the Mockito-AssertJ duo. Topics covered in this article...
12-09-2017 10:46:22 solidsoft (Marcin Zajaczkowski) Advanced
Importance of given-when-then in unit tests and TDD
Create better defined, shorter and maintainable unit tests with given-when-then sections. Recently, I've been writing rather about more adva...
16-05-2017 10:56:08 solidsoft (Marcin Zajaczkowski) Advanced
Spock tricks – Simplified Optional stubbing with custom default responses
Stubbing methods returning java.util.Optional with Spock is more tricky that you would probably expect. Get know how to do it efficiently. I...
15-03-2017 13:12:42 solidsoft (Marcin Zajaczkowski) Advanced
Spock – Formatting complex input parameters in parameterized tests
Learn how to visualize complex input parameters in parameterized tests in the way improving the readability of the test report. Introduction...
07-12-2016 14:28:25 solidsoft (Marcin Zajaczkowski) Advanced
More compact mock creation syntax in Spock 1.1
Get know how to create mocks and spies in even more compact way with Spock 1.1 Introduction Spock heavily leverages operator overloading (an...
28-11-2016 10:22:25 solidsoft (Marcin Zajaczkowski) Advanced
Gradle and Java 8 named method parameters (-parameters flag)
Get know how to enable named method parameters support in a Gradle project Introduction Java 8 has introduced (among others) an ability to g...
01-07-2016 00:59:46 solidsoft (Marcin Zajaczkowski) Advanced
Gradle tricks - display buildscript dependencies
The simply way how buildscript dependencies (e.g. plugins) can be displayed and analyzed in Gradle Introduction This is the third part of my...
07-06-2016 10:38:06 solidsoft (Marcin Zajaczkowski) Advanced
Automatically unrolling all parameterized Spock test in the whole project
Would it be useful to unroll all parameterized Spock tests automatically? I've been always frustrated with the need to add @Unroll annotatio...
05-05-2016 10:32:50 solidsoft (Marcin Zajaczkowski) Advanced

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.