title: How to run single test in grails-core project using Gradle?
body: <p>I'm trying to add a new test case to existing test <code>org.codehaus.groovy.grails.web.mapping.ReverseUrlMappingTests</code> in <code>grails-test-suite-web</code> submodule of <code>grails-core</code> project.</p>
  
  <p><a href="https://github.com/grails/grails-core/blob/master/grails-test-suite-web/src/test/groovy/org/grails/web/mapping/ReverseUrlMappingTests.groovy" rel="nofollow">https://github.com/grails/grails-core/blob/master/grails-test-suite-web/src/test/groovy/org/grails/web/mapping/ReverseUrlMappingTests.groovy</a></p>
  
  <p>I have a problem with running single test case using Gradle. When I do:</p>
  
  <pre><code>./gradlew -Dtest.single=ReverseUrlMappingTests :grails-test-suite-web:test
  </code></pre>
  
  <p>It ends with:</p>
  
  <pre><code>FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':test'.
  &gt; Could not find matching test for pattern: ReverseUrlMappingTests
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  </code></pre>
  
  <p>This test can be run in full test cycle <code>./gradlew test</code> but it's waste of the time when we wanna red-green-refactor only one simple test case. I also noticed that the same problem occurs when I try to run in the same manner spock.lang.Specification subclass test.</p>
  
  <p><strong>Here's my question:</strong> is it possible to run single grails-core test with Gradle?</p>
  
  <p>It's grails-core <code>2.4.x</code> branch clone</p>