Question: I have a java project in eclipse, when I press the `project right click -> run as junit` some tests do not run. I attached a picture, see `YamiMailSenderTest` for example.  

When I try to run the tests directly they are running.  

I am using eclipse 3.7.2. 

![enter image description here](https://i.stack.imgur.com/BoKqd.png)

and expanded view:

![enter image description here](https://i.stack.imgur.com/jQfKo.png)

Any idea?

Answer: 
Ran into the same problem, my error was that I wrote: `public void myMethodName(){ //assertions }` 

instead of: `public void testMyMethodName() { //assertions }`

the test before the MyMethodName is important.
It's a bit late, but in case anyone finds this via a search engine:

If a Test is run multiple times the results provided by JUnit are indistinguishable for those Tests and thus the results are only displayed for one run. See also the following Eclipse bug report: <https://bugs.eclipse.org/bugs/show_bug.cgi?id=172256>