Summary of unit test mocking capabilites and syntax of Spock test framework
Learn how to create true Java unit tests by mocking all external dependencies in your unit tests with the Spock testing framework.
Recently, in one of my pet projects, I decided to try writing tests using Spock framework. It was a great experience, I enjoyed it a lot. Except for the part of setting it up, which was somewhat annoying.
The Java volatile keyword guarantees variable visibility across threads, meaning reads and writes are visible across threads.
An interesting project which provides bindings to manage containers within your tests
Looking at implementing AWS lambda functions to update blog content, for which git access would be a prerequisite
When Java 8 introduced the Optional type many years ago, I was happy like a bird. I already knew about the Optional type from various…
Interesting project that looks to solve the local dev cert problem