jQuery in Action, 3rd edition
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

Could not invoke suite() method !!

Sanjeev Kulkarni

Joined: Mar 20, 2006
Posts: 26

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 ?

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15080

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 8 API documentation
I agree. Here's the link: http://aspose.com/file-tools
subject: Could not invoke suite() method !!
It's not a secret anymore!