Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not invoke suite() method !!

 
Sanjeev Kulkarni
Greenhorn
Posts: 26
  • 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
Posts: 15287
39
Android IntelliJ IDE Java Scala Spring
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic