Blog: solidsoft (Marcin Zajaczkowski)


222 blogs updated: 43 min. ago
Simplify integration testing of legacy application with Spock 1.2
Learn how leverage Spock 1.2 to slice a Spring context of a legacy application writing integration tests. Have you ever wanted, having some ...
6
14-09-2018 10:29:41 solidsoft (Marcin Zajaczkowski) Advanced
Spock 1.2 – hassle-free Spring beans mocking in integration tests
Discover how to automatically inject Spock's mocks and spies into the Spring context using Spock 1.2. Stubs/mocks/spies in Spock (and their ...
6
03-09-2018 10:30:20 solidsoft (Marcin Zajaczkowski) Advanced
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...
23
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 ...
21
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...
29
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...
23
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...
18
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...
13
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...
16
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...
10
01-07-2016 00:59:46 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.