title: Unable to run spring-boot-test
body: <p>I am new to Spring-boot.</p>
  
  <p>We are trying to practice spring-boot-test by adding the following Java class in this <a href="http://spring.io/guides/gs/rest-service/" rel="nofollow">Spring guide</a> for testing purpose.
  However, it turns out that we are not able to trigger this Java class. In other words, there is no any test result showing up in the our eclipse console.
  Could someone suggest us where we do wrong?</p>
  
  <p>Thanks!</p>
  
  <p><strong>GreetingControllerTest.java</strong></p>
  
  <pre><code>package hello;
  
  @RunWith(SpringJUnit4ClassRunner.class)
  @SpringApplicationConfiguration(classes = Application.class)
  @WebAppConfiguration
  @IntegrationTest
  public class GreetingControllerTest {
  
      private RestTemplate restTemplate = new RestTemplate(); 
  
      @Test
      public void testGreeting() {
  
          System.out.println("Where is my TEST?????!!!!!!");
          String url = "http://localhost:8080/greeting";
          assertNotNull(restTemplate.getForObject(url, Greeting.class));
      }
  }
  </code></pre>