Article:
  Using JUnit With Eclipse IDE
Subject:   junit.framework.AssertionFailedError: No tests found in package name.classname
Date:   2007-12-14 02:39:02
From:   manikandankv
Response to: junit.framework.AssertionFailedError: No tests found in package name.classname

Hi ,
You would have forgotten to mention the method start with 'test' .
ex: testMethod1()
Regards
Manikandan.k
Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • junit.framework.AssertionFailedError: No tests found in package name.classname
    2007-12-27 20:39:20  LeilaMir [View]

    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.
    • 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