JUnit errors

http://junit.org

A unit testing framework for Java

Documented:

Top patterns

  1. Assert.fail() has thrown an AssertionError

    My guess is there is some kind of static state in the code being tested or in the test itself, so the tests aren't isolated. Adding the test changes the test order. In any case, your best course of action is to use the debugger to see why the tests fail.

  2. Assert.failNotEquals() has thrown an AssertionError
    No solution
  3. Assert.assertTrue() has thrown an AssertionError

    Check your pattern declaration or check your assert declaration.


DescriptionException TypeEntry MethodWeb pages
ExceptionJUnitCore.run13
ExceptionJUnitCore.run6
NoClassDefFoundErrorJUnitCore.run5
RuntimeExceptionJUnitCore.run4
ExceptionJUnitCore.run4
javaJUnitCore.run3
IllegalStateExceptionJUnitCore.run3
IllegalStateExceptionJUnitCore.run3
javaJUnitCore.run2
UnsupportedOperationExceptionJUnitCore.run2
javaJUnitCore.run2
IllegalStateExceptionJUnitCore.run2
Resources$NotFoundExceptionJUnitCore.run2
IllegalArgumentExceptionJUnitCore.run2
ExceptionJUnitCore.run2
InternalSpockErrorJUnitCore.run2
IllegalStateExceptionJUnitCore.run2
Resources$NotFoundExceptionJUnitCore.run1
RuntimeExceptionJUnitCore.run1
NoMatchingViewExceptionJUnitCore.run1
NoClassDefFoundErrorJUnitCore.run1
IllegalStateExceptionJUnitCore.run1
NoClassDefFoundErrorJUnitCore.run1
UnsatisfiedDependencyExceptionJUnitCore.run1
IllegalStateExceptionJUnitCore.run1
NullPointerExceptionJUnitCore.run1
IllegalStateExceptionJUnitCore.run1
IllegalArgumentExceptionJUnitCore.run0
JsonParsingExceptionJUnitCore.run0
Package nameClass namePatterns foundSolution coverageDescription coverage
org.junit.runnerJUnitCore34
org.junit.runnerRunner5
org.junit.runnerRequest3
org.junit.runnerDescription1
org.junit.runnerComputer1
Package nameClass nameMethod namePatterns foundSolution coverage
org.junit.runnerJUnitCorerun29
org.junit.runnerJUnitCorerunMain2
org.junit.runnerJUnitCorerunClasses1
org.junit.runnerJUnitCoremain1
org.junit.runnerJUnitCorerunMainAndExit1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
org.junit.runnerJUnitCorerunIllegalStateException7
org.junit.runnerJUnitCorerunException4
org.junit.runnerJUnitCorerunNoClassDefFoundError3
org.junit.runnerJUnitCorerunRuntimeException2
org.junit.runnerJUnitCorerunResources$NotFoundException2
org.junit.runnerJUnitCorerunUnsupportedOperationException1
org.junit.runnerJUnitCorerunjava1
org.junit.runnerJUnitCorerunIllegalArgumentException1
org.junit.runnerJUnitCorerunUnsatisfiedDependencyException1
org.junit.runnerJUnitCorerunNullPointerException1
org.junit.runnerJUnitCorerunJsonParsingException1
org.junit.runnerJUnitCorerunjava1
org.junit.runnerJUnitCorerunIllegalArgumentException1
org.junit.runnerJUnitCorerunjava1
org.junit.runnerJUnitCorerunInternalSpockError1
org.junit.runnerJUnitCorerunNoMatchingViewException1