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
FaultParentRunner.run2
Package nameClass namePatterns foundSolution coverageDescription coverage
org.junit.runnersParentRunner444
org.junit.runnersBlockJUnit4ClassRunner43
org.junit.runnersParentRunner$242
org.junit.runnersParentRunner$39
org.junit.runnersSuite8
org.junit.runnersParameterized6
org.junit.runnersParentRunner$16
org.junit.runnersBlockJUnit4ClassRunner$11
Package nameClass nameMethod namePatterns foundSolution coverage
org.junit.runnersParentRunnerrun412
org.junit.runnersParentRunnervalidate9
org.junit.runnersParentRunner<init>7
org.junit.runnersParentRunnerrunLeaf4
org.junit.runnersParentRunnerrunChildren3
org.junit.runnersParentRunneraccess$0003
org.junit.runnersParentRunnergetDescription2
org.junit.runnersParentRunnervalidatePublicVoidNoArgMethods2
org.junit.runnersParentRunnerfilter1
org.junit.runnersParentRunnershouldRun1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
org.junit.runnersParentRunnerrunAssertionError197
org.junit.runnersParentRunnerrunNullPointerException37
org.junit.runnersParentRunnerrunIllegalArgumentException31
org.junit.runnersParentRunnerrunJSONException29
org.junit.runnersParentRunnerrunClientHandlerException16
org.junit.runnersParentRunnerrunWebServiceException16
org.junit.runnersParentRunnerrunRuntimeException15
org.junit.runnersParentRunnerrunIllegalStateException11
org.junit.runnersParentRunnerrunNoSuchMethodError7
org.junit.runnersParentRunnerrunNoClassDefFoundError6
org.junit.runnersParentRunnerrunArrayIndexOutOfBoundsException3
org.junit.runnersParentRunnerrunServiceConfigurationError3
org.junit.runnersParentRunnerrunUnsupportedOperationException3
org.junit.runnersParentRunnerrunException2
org.junit.runnersParentRunnerrunMalformedURLException2
org.junit.runnersParentRunnerrunUnsatisfiedLinkError2
org.junit.runnersParentRunnerrunBluetoothStateException1
org.junit.runnersParentRunnerrunComparisonFailure1
org.junit.runnersParentRunnerrunConfigurationException1
org.junit.runnersParentRunnerrunEmbedder$RunningStoriesFailed1
org.junit.runnersParentRunnerrunAxonAssertionError1
org.junit.runnersParentRunnerrunPendingException1
org.junit.runnersParentRunnerrunSQLException1
org.junit.runnersParentRunnerrunVerifyError1
org.junit.runnersParentRunnerrunjava1
org.junit.runnersParentRunnerrunConversionException1
org.junit.runnersParentRunnerrunServletException1
org.junit.runnersParentRunnerrunLinkageError1
org.junit.runnersParentRunnerrunHttpHostConnectException1
org.junit.runnersParentRunnerrunComparisonFailure1
org.junit.runnersParentRunnerrunBundleException1
org.junit.runnersParentRunnerrunCoreLayerException1
org.junit.runnersParentRunnerrunYAMLException1
org.junit.runnersParentRunnerrunSocketException1
org.junit.runnersParentRunnerrunInvocationTargetException1
org.junit.runnersParentRunnerrunObserverException1
org.junit.runnersParentRunnerrunHectorException1
org.junit.runnersParentRunnerrunDBException$DataCorruption1
org.junit.runnersParentRunnerrunFault1
org.junit.runnersParentRunnerrunReflectionException1
org.junit.runnersParentRunnerrunTransactionTimeoutException1
org.junit.runnersParentRunnerrunTDBException1
org.junit.runnersParentRunnerrunClassFormatError1
org.junit.runnersParentRunnerrunReflectionError1
org.junit.runnersParentRunnerrunContainerException1
org.junit.runnersParentRunnerrunIOException1
org.junit.runnersParentRunnerrunJsonMappingException1
org.junit.runnersParentRunnerrunYAMLException1