Blog Archives

No image

JUnit Tricks – Part 3 – Assumptions

In Part 1 of this tutorial, we looked at performing parameterized tests in JUnit, and in Part 2 we looked at JUnit’s Rule support. In this portion, we will look at a lesser-used feature of JUnit – assumptions.

Read More
No image

JUnit Tricks – Part 1 – Parameterized Tests

If you code in Java, I’m sure you’re familiar with JUnit. Although it’s not the only unit test framework out there, it’s probably the most popular, and has inspired a variety of similar frameworks for other languages. In this tutorial, we’re going to examine some of the more advanced features of the newer versions of […]

Read More