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 Your Own Spring Test Context is an interesting blog post which describes how you can speed up your integration tests if you are writing tests for a Spring (or a Spring Boot) application. WireMock Tutorial: Request Matching, Part Four is the latest part of my WireMock tutorial, and it describes how you can specify expectations for the XML document that is received by your WireMock server. The Really Valuable Stuff Do we find bugs with automation is a thought-provoking blog post which argues that test automation doesn’t help us to find bugs. Modern testing principles is an excellent blog post which introduces seven testing principles that help you to finish your releases as soon as possible. It’s Time to Update Your Dependencies JUnit
Category: Articles
Java Lambda Streams and Groovy Clauses Comparisons – DZone Java
This post takes a look at creating and implementing lambda streams in both Java and Groovy, determining that Groovy provides more terse code overall.
Improve Application Performance with These Advanced GC Techniques
Application performance is on the forefront of our minds, and Garbage Collection optimization is a g…
Will Python dethrone Java this year? Programming language rankings say yes – JAXenter
It’s no news that Java has been on a slippery slope but we might know who’s the replacement, popularity indices show. Spoiler alert: it’s Python!
Top 15 Java Multithreading, Concurrency Interview Questions With Investment Banks – DZone Java
In this post, we look at the top 15 Java-related interview questions from investment banks, specifically questions pertaining to concurrency and multithreading.
Project Loom: A trend to watch in the JVM ecosystem – JAXenter
Project Loom’s initial prototype is now publicly available. The goal of this project is to add a new concurrency tool to the Java toolkit: fibers.
Leveraging Lambda Expressions for Lazy Evaluation in Java – DZone Java
In this post, we take a look at how to make effective use of lambda expressions in Java for the purpose of lazy loading data and lazy evaluation.
Getting Started With Google’s HTTP Client Library for Java
Google’s HTTP Client Library for Java is a one-stop shop for all your HTTP client needs, irrespectiv…
Features to Avoid Null Reference Exceptions in Java and Swift – DZone Java
If you’re having trouble avoiding null exceptions, this tutorial provides solutions to avoiding the null reference exceptions in both Java and Swift languages.
Java platform module system cheat sheet | Rogue Wave
Java 9 has introduced modules to the Java platform, changing the way we build and design applications. If you need a refresher on Java 9 modules, look no further than our cheat sheet. It covers module-info.java file contents, Java command line options, manifest attributes, and module types.
Spring Security 5 Java Config – @EnableWebSecurity Example
Java example to enable spring security java configuration with the help of @EnableWebSecurity annotation and WebSecurityConfigurerAdapter class. 1) Include spring security dependencies Include spring security jars. I am using maven so added respective dependencies for spring security 5. 2) Create Security Configuration I have created this simple security configuration and added two demo users ‘user‘ …
Memory-Hogging Enum.values() Method
I’m a big fan of Java’s enum. It seemed like we waited forever to get it, but when we did finally ge…
Java XPath – Check if XML tag or attribute exists? – HowToDoInJava
Java example to check if a tag exists in given XML content or if any attribute is present in XML using XPath. How to check if xml tag exists? To verify if node or tag exists in XML content, you can execute an xpath expression against DOM document for that XML and count the matching …
How to Automate a Java Unit Test, Including Mocking and Assertions – DZone Java
This tutorial demonstrates how to automate unit tests in Java by using the Parasoft Jtest Unit Test Assistant, as well as mocking and assertion methods.