File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 13875
    
  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
Is an interface inside class implicitly static?
Why Would new Date Cause an Exception
Question on addTest method of Junit
JUnit. How to pass parameters into Test classes from suite() ?
ERROR: java.sql.SQLException: No data found