facebook

Junit with Eclipse 3.1

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #239616 Reply

    Jason Price
    Member

    Hi

    I am trying to access an EJB from a class thats being tested via a junit test case.

    I just get various class not found errors which I think is down to the fact that the Junit Runner classes used by eclipse are not running in the Projects Classpath (as all the not found classes are definately there).

    Does anyone know if this is the case?

    #239699 Reply

    Riyad Kalla
    Member

    When you run a JUnit class, it creates a run target in y our run menu, if you go edit it, you can click the Classpath tab and see what it’s runtime classpath is, see if it jives with the project.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Junit with Eclipse 3.1

You must be logged in to post in the forum log in