File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
test/clj/cider/nrepl/middleware Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1515 (is (= (class @test/default-executor)
1616 java.util.concurrent.ThreadPoolExecutor)))
1717
18+ (deftest only-selected-tests
19+ (testing " only single test is run with test"
20+ (are [tests] (let [{:keys [results] :as test-result}
21+ (session/message
22+ {:op " test"
23+ :ns " cider.nrepl.middleware.test-filter-tests"
24+ :tests (map name tests)})]
25+ (is (= tests (keys (:cider.nrepl.middleware.test-filter-tests results)))))
26+ [:a-puff-of-smoke-test ]
27+ [:a-smokey-test ]
28+ [:a-puff-of-smoke-test :a-smokey-test ]
29+ [:a-puff-of-smoke-test :a-smokey-test :yet-an-other-test ])))
30+
1831(deftest only-smoke-test-run-test-deprecated
1932 (testing " only test marked as smoke is run when test-all is used"
2033 (let [{:keys [results] :as test-result} (session/message {:op " test-all"
You can’t perform that action at this time.
0 commit comments