Women in Technology

Hear us Roar



Subject:   junit.framework.AssertionFailedError: No tests found in package name.classname
Date:   2007-12-27 20:39:20
From:   LeilaMir
Response to: junit.framework.AssertionFailedError: No tests found in package name.classname

Make sure the "test" at the beginning of the method name is lower case. If you say TestMethod you will get this error message. You should say testMethod.
Full Threads Newest First

Showing messages 1 through 2 of 2.

  • junit.framework.AssertionFailedError: No tests found in package name.classname
    2009-12-01 05:41:16  Pramy [View]

    I get this error message even when the class name is lower case.
    • junit.framework.AssertionFailedError: No tests found in package name.classname
      2010-04-15 15:44:04  vmbharathi [View]

      The above suggestion to start the method names as lower case "testXXX()" worked for me!
      Thx