Why JUnit 5 default access modifier changed to package-private
Why is the default access modifier in JUnit 5 package-private? It’s not the “default”. There technically is no default. Rather, in JUnit Jupiter you have a choice: public, protected or package-private. What is the benefit of changing it to package-private? The benefit is that you don’t have type public anymore. If your IDE automatically generates …