title: Run tests from Clojure Repl and Leiningen
body: <p>As a newbie to clojure, I have used leiningen to create a sample project with</p>
  
  <pre><code>lein new app first-project
  </code></pre>
  
  <p>which gave me this directory</p>
  
  <pre><code>.
  ├── doc
  │   └── intro.md
  ├── LICENSE
  ├── project.clj
  ├── README.md
  ├── resources
  ├── src
  │   └── first_project
  │       └── core.clj
  ├── target
  │   └── repl
  │       ├── classes
  │       └── stale
  │           └── extract-native.dependencies
  └── test
      └── first_project
          └── core_test.clj
  </code></pre>
  
  <p>Without modifying any files, I can lauch successfully the only failing test with</p>
  
  <pre><code>lein test
  ...
  Ran 1 tests containing 1 assertions.
  1 failures, 0 errors.
  Tests failed.
  </code></pre>
  
  <p>But I am unable to do the same from the REPL using run-tests</p>
  
  <pre><code>lein repl
  first-project.core=&gt; (use 'clojure.test)
  nil
  first-project.core=&gt; (run-tests)
  
  Testing first-project.core
  
  Ran 0 tests containing 0 assertions.
  0 failures, 0 errors.
  {:type :summary, :pass 0, :test 0, :error 0, :fail 0}
  </code></pre>
  
  <p>I tried (but does not work)</p>
  
  <pre><code>(require 'first-project.core-test)
  </code></pre>