Annotate your util classes with @Ignore. This will cause JUnit not to try and run them as tests.
More Related Contents:
- How to Re-run failed JUnit tests immediately?
- How to mock private method for testing using PowerMock?
- Before and After Suite execution hook in jUnit 4.x
- Class not found with Ant, Ivy and JUnit – error in build.xml?
- How to test code dependent on environment variables using JUnit?
- Custom JUnit Report?
- How to write junit tests for interfaces?
- Mockito – NullpointerException when stubbing Method
- junit & java : testing non-public methods [duplicate]
- What’s the difference between failure and error in JUnit?
- How to run all JUnit tests in a category/suite with Ant?
- JUnit: new instance before invoking each @Test method. What are the benefits?
- Running ant build gives “package org.junit does not exist”
- How do I run JUnit tests from inside my Java application?
- Test class with a new() call in it with Mockito
- How to put a jar in classpath in Eclipse? [duplicate]
- Embedded MongoDB when running integration tests
- Get name of currently executing test in JUnit 4
- How do I Dynamically create a Test Suite in JUnit 4?
- What is the best way to avoid maven-jar?
- Use Ant for running program with command line arguments
- How to set JVM parameters for Junit Unit Tests?
- Is there a way to run a JSF page without building the whole project?
- Problem with deserialization of LocalDateTime in Junit test
- MimeMessage.saveChanges is really slow
- Calling callbacks with Mockito
- How to exclude *AutoConfiguration classes in Spring Boot JUnit tests?
- Why do I get compilation error “org/codehaus/groovy/control/CompilationFailedException”?
- JUnit tests for AspectJ
- Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter