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.
JUnit Tricks – Part 2 – JUnit Rules
In Part 1 of this tutorial, we looked at performing parameterized tests in JUnit. In this portion, we will look at a more recent addition to JUnit – Rules.
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 […]