Question about Junit

View: New views
2 Messages — Rating Filter:   Alert me  

Question about Junit

by David McPherson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have student who is using DrJava and when he creates a Junit test
case, the compiler can't find the framework.  If he downloads the Junit
jar from them, where should he put it on his computer or how does he
tell DrJava where it is located?

Thanks,
Dave McPherson
--
  Dave McPherson Computer Science
Instructor Virginia Tech
dmcphers@... 625 McBryde Hall
231-4485
http://www.active.com/donate/tntva/tntvavtdave


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Drjava-users mailing list
Drjava-users@...
https://lists.sourceforge.net/lists/listinfo/drjava-users

Re: Question about Junit

by gknauth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Put the junit.jar anywhere you like.  Then, in DrJava, use:
   Edit -> Preferences -> Extra Classpath -> Add button
to add the path to the junit.jar file to the classpath.

Geoffrey
--
Geoffrey S. Knauth | http://knauth.org/gsk


On Feb 14, 2007, at 13:57, Dave McPherson wrote:

> Hi,
>
> I have student who is using DrJava and when he creates a Junit test
> case, the compiler can't find the framework.  If he downloads the  
> Junit
> jar from them, where should he put it on his computer or how does he
> tell DrJava where it is located?
>
> Thanks,
> Dave McPherson
> --
>   Dave McPherson Computer Science
> Instructor Virginia Tech
> dmcphers@... 625 McBryde Hall
> 231-4485
> http://www.active.com/donate/tntva/tntvavtdave


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Drjava-users mailing list
Drjava-users@...
https://lists.sourceforge.net/lists/listinfo/drjava-users