Testing
-
Core Java
Separating Integration Tests from Unit Tests Using Maven Failsafe & JUnit @Category
Why Unit Tests Should Run Separately From Integration Tests TDD at the Unit Testing level is fairly straight-forward, since classes in unit…
Read More » -
Core Java
Given When Then in Java
tl;dr you can use labels to clarify a given-when-then style of testing. What is given-when-then? given-when-then is a commonly used…
Read More » -
Core Java
Advanced Creation of Hamcrest Matchers
Intro Last time, I went over what a Hamcrest Matcher was, how it’s used, and how to make one. In…
Read More » -
Core Java
Redesigning Hamcrest
I’ve done a few posts on the Hamcrest library, and I really do enjoy using it, but there are a…
Read More » -
Core Java
Testing with files and directories in JUnit with @Rule
Testing with Files and directories in JUnit is easy thanks to TemporaryFolder @Rule. In JUnit rules (@Rule) can be used…
Read More » -
Core Java
Book Review: Mockito Essentials
The subtitle of Sujoy Acharya‘s Mockito Essentials (Packt Publishing, October 2014) is: “A practical guide to get you up and…
Read More » -
Enterprise Java
How to perform client side web performance testing in JMeter?
In this article we will see how can we do client side performance testing using Jmeter Plugins. I will be…
Read More » -
Core Java
Testing JVM server-side JavaScript with Jasmine, Spock and Nashorn
JavaScript usage is not limited to client-side code in browser or NodeJS powered server-side code. Many JVM based projects are…
Read More » -
Software Development
Why do we mock?
I do Java interviews. During the interviews I ask technical question that I know the answer for. You may think…
Read More »