This won't solve your problem but might shed some ligt on what an
unrooted test is (a weak comfort).
I have managed to cause unrooted tests earlier in my RSpec-JUnit
hack. Based on that experience an "unrooted test" is a test that is
run without having been declared previously by the runner (in my case
I had to fix my runner implementation that was, no doubt, not behaving
acording to spec). It would probably not hurt to ask this question in
an Eclipse forum aswell, it seems that exlipse single-test runner is
doing something that is not quite correct.
> Bradley, Todd wrote:
> > I'm using Eclipse 3.3 with JUnit 4.4. In the olden days, with Eclipse
> > 3.0 and JUnit 3.8, I could select a single test method in the Outline
> > view and run just that method. Nowadays, whenever I try to do that,
> > Eclipse's test runner runs all the tests in the class. The results are
> > shown in a tree, and the tests I didn't ask to be run are all under a
> > node called "Unrooted Tests [Runner: JUnit 4]".
> > ...
> > Cheers,
> > Todd.
> > ----
> > Todd Bradley - Polycom, Inc.
> > ReadiVideo QA Lead
> Well you are certainly not the only person getting this! We have upgraded
> Junit 4.4 within our project and get the same issue. It makes debugging a
> real pain. If anyone finds a solution to this problem I would be obliged if
> you can pass it on! BTW we are using MyEclipse 6.0.1.
> Ayub Malik
> View this message in context:
> http://www.nabble.com/what%27s-an-%22Unrooted-Test%22-and-why-can%27t-I-find-anything-online-about-it--tp14326290p14578597.html > Sent from the JUnit - User mailing list archive at Nabble.com.
Västerlånggatan 79, 2 tr
111 29 Stockholm, SWEDEN