JUnit: how to avoid “no runnable methods” in test utils classes December 20, 2022 by Tarik Annotate your util classes with @Ignore. This will cause JUnit not to try and run them as tests.