title: When running tests from "sbt test" the classpath is different than when running from IDEA
body: <p>I have the following simple test:</p>
  
  <pre><code>class ClasspathTest extends FlatSpec with Matchers {
  
    "The classpath" should "have more than one member" in {
      System.getProperty("java.class.path").split(":").length should be &gt; 1
    }
  }
  </code></pre>
  
  <p>This resides in an sbt project. When running this from IDEA, this test succeeds because it contains all the <code>libraryDependencies</code> I specified in <code>build.sbt</code>.</p>
  
  <p>However, when doing <code>sbt test</code> it fails because it only contains <code>/opt/sbt/bin/sbt-launch.jar</code>.</p>
  
  <p>Now I have a test which <em>depends</em> on this runtime classpath being fully populated.</p>
  
  <p>Is it possible to populate it somehow?</p>