Save the Optional, stop using isPresent
Save the Optional, stop using isPresent,Most functional programming languages offer a concept called Option or Maybe to deal with the presence or absence of a value, thus avoiding ...
Comparing Spock and JUnit
Comparing Spock and JUnit,JUnit is considered the standard framework to test Java applications. I don't think anybody will challenge its position in the short term. In addition JUn...
How to Set Up Cucumber Tests for Java
How to Set Up Cucumber Tests for Java,Java cucumber tests have 3 parts. The feature file The step definitions (the 'glue' file(s)) The junit test file The feature file is where the...
Java 8 Functional Interface Cheatsheet
Java 8 Functional Interface Cheatsheet,O'Reilly has a great in-depth article on the functional interface in Java 8. Here's a quick cheat sheet to keep track of the main types, what...
Do you know Project Lombok?
Do you know Project Lombok?,I've been using and appreciating Lombok for some time. It's one of the first dependencies I drop into my Java projects. This article is just about makin...