I want to run a single test case so I read a document about testing
and I found this command.
gradle test -Dtests.class=org.elasticsearch.package.ClassName
I want to test this class
so I executed command like this.
gradle test -Dtests.class=org.elasticsearch.index.mapper.NumberFieldMapperTests
But I met an error!
Here is an error message
* What went wrong: Execution failed for task ':test:framework:test'. > There were no executed tests: 0 suites, 0 tests * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':test:framework:test'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:98) ... ... Caused by: : There were no executed tests: 0 suites, 0 tests at com.carrotsearch.ant.tasks.junit4.JUnit4.execute(JUnit4.java:1093) ... ...
please, help me