title: No runnable methods with testNG
body: <p>I am writing integration tests with TestNG and facing this trivial issue.</p>
  
  <pre><code>No runnable methods
       java.lang.Exception: No runnable methods
          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  </code></pre>
  
  <p>Test class is like this (After Stephen's suggestion, I removed SpringJunitRunner):</p>
  
  <pre><code>@Test
  @ContextConfiguration(locations = { "file:spring-configuration/mobiusdatabase-integration-testing.xml" })
  public class PersistUrlTests extends AbstractTestNGSpringContextTests {
  
          @Autowired
          protected MobiusDatabaseServiceClient mobiusDatabaseServiceClient;
  
          @Autowired
          UrlDAO urlDAO;
  
          @Autowired
          ScraperUrlDAO scraperUrlDAO;
  
          @BeforeClass
          public static void init() throws Exception {
  
          }
  
          @Test
          public void checkTest() {
              GetActiveCategoriesResponse response = mobiusDatabaseServiceClient.newGetActiveCategoriesCall().call();
              System.out.println(response.getCategoryList());
              Assert.assertTrue(true);
          }
  }
  </code></pre>
  
  <p>This error usually occurs when we don't have <code>@Test</code> annotation or if we don't have <code>@Runner</code>. Do we need some other set-up for <code>TestNG</code>?</p>