title: JUnit tests SpringJUnit4ClassRunner
body: <pre><code>@RunWith(SpringJUnit4ClassRunner.class)
  @ContextConfiguration(locations = {
          "classpath:spring/integration-test.xml"
          })
  @TransactionConfiguration(transactionManager = "transactionManager", defaultRollback = true)
  public class TestClass {
  
      @Autowired
      private Dao dao;
  
      @Test
      @Transactional
      public void test1() {       
  
      }
  }
  </code></pre>
  
  <p>Hello!
  I'm trying to start single test method from Spring Tool Suite Debug configurations and I have an exception:</p>
  
  <pre><code>java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName=test1], {ExactMatcher:fDisplayName=test1(com.org.TestClass )], {LeadingIdentifierMatcher:fClassName=com.org.TestClass ,fLeadingIdentifier=test1]] from org.junit.internal.requests.ClassRequest@302e67
      at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:40)
      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createFilteredTest(JUnit4TestLoader.java:77)
      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:68)
      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:43)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  </code></pre>
  
  <p>But since I remove @RunWith(SpringJUnit4ClassRunner.class) at this example the test method launched successfully.</p>
  
  <p>I would appreciate any useful advice to eliminate this trouble.
  Thank you.</p>
  
  <hr>
  
  <p>I have spring version 3.1.1</p>
  
  <p>Here are imports:</p>
  
  <pre><code>import org.junit.runner.RunWith;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.data.domain.Page;
  import org.springframework.test.context.ContextConfiguration;
  import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
  import org.springframework.test.context.transaction.TransactionConfiguration;
  import org.springframework.transaction.annotation.Transactional;
  import org.testng.annotations.Test;
  </code></pre>