|
Re: JUnit test no longer lets me run as test [message #515804 is a reply to message #515798] |
Sun, 21 February 2010 00:44 |
|
On 2/20/2010 4:59 PM, Alpdog14 wrote:
> I have created a new Project a couple days ago, and I had a Class MyMap
> and a JUnit Test MyMapTest and I was able to right click and Run As
> JUnit and I would get results. Now when I open the same project and
> right click the JUnit test, all I get is Run Configurations and when I
> go into that screen and try to Run my test it says "No test found with
> test runner 'JUnit 4'. I have not changed any setting or anything I just
> am using my laptop instead of my desktop which is what I was using when
> I was able to run the test. Can anyone tell me how to run the JUnit test
> even if I just get the Run As Configuration screen.
I'm probably off the mark here, however, the last time this happened to
me, the JUnit library had disappeared from Build Paths.
Right-click on the project, choose Build Path -> Configure Build Path,
then click on the Libraries tab, click on Add Library... and then JUnit.
Choose JUnit 3 or 4, then Finish.
Of course, there could be some other reason, but this is my experience
so far.
Best of luck,
Russ Bateman
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07837 seconds