File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not invoke suite() method !!

 
Sanjeev Kulkarni
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you set the classpath correctly? JUnit can probably not find the class edu.ncsu.csc326.coffeemaker.CoffeeMakerTestSuite.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic