• Post Reply Bookmark Topic Watch Topic
  • New Topic

debug as junit test missing  RSS feed

 
sai rama krishna
Ranch Hand
Posts: 524
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i was trying junit mockito example in eclipse mars. When i try to debugt the junit i do not see option 'run as -->junit test'

please advise
mockito.png
[Thumbnail for mockito.png]
mockito
 
Tim Cooke
Marshal
Posts: 3652
184
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's quite hard to see on that image but I don't think you have any tests defined. Can you post your test class for us to see? Copy and paste it, not as an image.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36446
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, make sure your mouse/cursor is focused on the class name rather than a method. If Eclipse thinks a method is selected and it doesn't happen to be an @Test one, it will think that it isn't looking at a test class.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!