title: How to run Karate Test on Gradle Using Command line
body: <p>I was having a looking on the Karate documentation : 
  <a href="https://github.com/intuit/karate#command-line" rel="nofollow noreferrer">https://github.com/intuit/karate#command-line</a></p>
  
  <p>And have my files as follow:</p>
  
  <p>Runner class:</p>
  
  <pre><code>import org.junit.runner.RunWith;
  import com.intuit.karate.junit4.Karate;
  import cucumber.api.CucumberOptions;
  
  @RunWith(Karate.class)
  @CucumberOptions(features = "classpath:feature/country.feature")
  public class APITest {}
  </code></pre>
  
  <p>Place this to my build.gradle:</p>
  
  <pre><code>test {
      // pull cucumber options into the cucumber jvm
      systemProperty "cucumber.options", System.properties.getProperty("cucumber.options")
      // pull karate options into the jvm
      systemProperty "karate.env", System.properties.getProperty("karate.env")
      // ensure tests are always run
      outputs.upToDateWhen { false }
  }
  </code></pre>
  
  <p>And I'm trying to run gradle like this:</p>
  
  <pre><code>./gradlew test -Dtest=APITest
  </code></pre>
  
  <p>But I'm getting this response:</p>
  
  <pre><code>Rafaels-MacBook-Pro:TestProject rafaelpaz$ ./gradlew test -Dtest=APITest
  :compileJava UP-TO-DATE
  :processResources UP-TO-DATE
  :classes UP-TO-DATE
  :compileTestJava
  :processTestResources UP-TO-DATE
  :testClasses
  :test
  </code></pre>
  
  <p>However, I can't see if my tests passed or not. What am I doing wrong?</p>
  
  <p>Gradle version : 2.14.1</p>