title: How to run a single JUnit test method in Eclipse?
body: <p>In a JUnit test case with multiple @Test annotations, how does one selectively run tests ?</p>
  
  <p>For e.g., from the following code, how does one run just one test method ? </p>
  
  <pre><code>   @Test
     public void testHelloEmpty() 
     {
        assertEquals(h.getName(),"");
        assertEquals(h.getMessage(),"Hello!");
     }
  
     @Test
     public void testHelloWorld() 
     {
        // h.setName("World");
        assertEquals(h.getName(),"World");
        assertEquals(h.getMessage(),"Hello World!");
     }
  </code></pre>
  
  <p>I have tried to just highlight one @Test method and tried to run it, but it doesn't work that way.</p>