Problem: How to write data-driven tests using Spock’s expect with where block? Where blocks are power feature of Spock Framework!
Continue reading Spock Framework expect with where blockfarenda
Problem: In Bash you can use for loop to iterate over a number of things. This tutorial shows how to use two Bash for loops in a simple way!
Continue reading Bash for loopGradle is using default Java version when compiling source code and producing bytecode. How to tell Gradle version of Java source code and expected version of bytecode?
Continue reading Gradle Java versionIn this article we’ll show how to install Gradle and do basic Gradle setup to have working configuration for projects!
Continue reading Gradle install and setupProblem: What are Java List types? What are their methods and what are their properties?
Continue reading Java List types and their methodsProblem: How to share common assertions between tests in Spock Framework?
Continue reading Spock Framework assert helper methodProblem: Spock Framework is fantastic unit tests library that makes people love to test their code. Check out this post and learn how to start with Spock Framework!
Continue reading Spock Framework basic testProblem: How to create a temporary file in Java 8? Sometimes it’s needed to create a temporary file during tests, verify result, and then delete it at the end. As usual it can be easily done using Java 8 Files API.
Continue reading Java 8 create temporary fileProblem: How to create simple Spring Boot REST service with HATEOAS support? It’s very simple with spring-boot-hateoas project.
Continue reading Spring Boot REST HATEOASProblem: How to start HSQLDB Database Manager?
Continue reading HSQLDB Database Manager