No tests found for given includes: : <p>I'm trying to run a simple test that's in my Test class from IDE (Intellij IDEA) and error that pops out is: </p>

<pre><code>No tests found for given includes: org.sample.Test.test
</code></pre>

<p>Same thing is happening when I try to run it from command-line. In Intellij, I've set up <code>Build, Execution, Deployment &gt; Build Tools &gt; Gradle &gt; Runner</code> to <code>Gradle Test Runner</code> and I have <code>@Test</code> on my method. Also, I can't run any test (from some other project), so I suppose that it's some configuration problem. </p>

<p>Can someone point me to something, what can I be doing wrong ?</p>
