Articles, Home

Java Testing Weekly 30 / 2019

There are many software development blogs out there, but many of them don’t publish testing articles on a regular basis. Also, I have noticed that some software developers don’t read blogs written by software testers. That is a shame because I think that we can learn a lot from them. That is why I decided to create a newsletter that shares the best testing articles which I found during the last week. Let’s get started. Technical Stuff A Look at New Java Features in Test Automation is a useful blog post that provides five tips which help you to write clean tests if you are using new Java versions (8 or newer). HttpMocker: A simple HTTP mocking library for Kotlin to handle offline modes provides a quick introduction to a library which allows you to configure the HTTP response that is returned when the system under test sends an HTTP request to a remote API. JUnit 5 TestWatcher API is a helpful blog post that describes how you can process your test results with JUnit 5. MockMvc Kotlin DSL provides a quick introduction to the Kotlin support of the Spring MVC Test framework. Property-based Testing in Java: How to Specify

Articles, Home

Local Type Inference Cheat Sheet for Java 10 and beyond! | Snyk

One of the main features in Java 10 in Local Type Inference, which allows us to substitute a type with the var reserved word in our source code. However, in order for this to become a feature that is useful to a developer rather than a feature developers will rue for many years to come, we need to learn how to use it and when to use it properly. This cheat sheet and blog is a reduced version of an blog post that Stuart Marks wrote on the OpenJDK site.