aspose file tools*
The moose likes Java in General and the fly likes Could not invoke suite() method !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Could not invoke suite() method !! " Watch "Could not invoke suite() method !! " New topic
Author

Could not invoke suite() method !!

Sanjeev Kulkarni
Greenhorn

Joined: Mar 20, 2006
Posts: 26
hi,

i got this error:

Could not invoke the suite() method

while i ran :

D:\DevZone\CoffeeMaker\CoffeeMaker\unittests>java junit.textui.TestRunner edu.ncsu.csc326.coffeemaker.CoffeeMakerTestSuite

on command prompt
.

Here is my class:





can any one pls help me with this ?

thanks,
sanlearns
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13884
    
  10

Did you set the classpath correctly? JUnit can probably not find the class edu.ncsu.csc326.coffeemaker.CoffeeMakerTestSuite.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not invoke suite() method !!
 
Similar Threads
Why Would new Date Cause an Exception
Question on addTest method of Junit
Is an interface inside class implicitly static?
ERROR: java.sql.SQLException: No data found
JUnit. How to pass parameters into Test classes from suite() ?