Replace JUnit 4 Assumptions with JUnit Jupiter

jSparrow 3.30.0 & jSparrow Maven Plugin 3.6.0
New rule to your toolbox:

Replace JUnit 4 Assumptions with JUnit Jupiter

This new jSparrow release brings more assistance on transitioning to JUnit 5!

This rule contributes to a stepwise transition to JUnit 5 by replacing the JUnit 4 assumption methods (namely, assumeTrue and assumeFalse) by the equivalent JUnit 5 ones.

Here is a short transformation example of the new rule, the following test class:

is transformed to:

This new rule brings jSparrow to a total of 95 automatic refactoring rules.

Find out more information in the Release Notes for jSparrow Eclipse and jSparrow Maven!

“Everyday life is like programming, I guess. If you love something you can put beauty into it.”; ― Donald Knuth

Promotion pop-up

jSparrow 22% off promotion image