Skip to content

Commit

Permalink
Add simple test for analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
gernd committed Oct 24, 2019
1 parent 7681b8c commit 7812eb4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/repo_analyzer/core_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
(:require [clojure.test :refer :all]
[repo-analyzer.core :refer :all]))

(deftest a-test
(testing "FIXME, I fail."
(is (= 0 1))))
(deftest test-analyze-repository
(testing "Tests the analyze-repository function using the project's repository"
(let [result (analyze-repository ".")]
(is (> (count (:logs result)) 0)))))

0 comments on commit 7812eb4

Please sign in to comment.