title: Unable to run JUnit test cases after converting project to Gradle in Eclipse
body: <p>I was using Maven to manage my project in Eclipse, but decided that Gradle looked like something that could end up benefiting me more. I'm trying to implement a CI/CD pipeline, but want to check certain thing (unit test success, and code coverage for example). After converting my project using </p>
  
  <pre><code>gradle eclipse
  </code></pre>
  
  <p>I find that I am no longer able to run JUnit test cases via the context menu </p>
  
  <pre><code>Right Click -&gt; Run As... -&gt; JUnit Test
  </code></pre>
  
  <p>With the following error</p>
  
  <pre><code>Class not found &lt;package&gt;.&lt;class&gt;
  </code></pre>
  
  <p>But when I run</p>
  
  <pre><code>gradle test
  </code></pre>
  
  <p>All of them pass, but don't give me any more information (which were run, which ones failed, which ones errored out).</p>
  
  <p>By switching to a Gradle project, can all tasks only be run in the context of Gradle now? There are no errors reported in Eclipse, and building works fine. I have verified that the files are in the expected locations.</p>