File tree 1 file changed +13
-0
lines changed
test/clj/cider/nrepl/middleware
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 15
15
(is (= (class @test/default-executor)
16
16
java.util.concurrent.ThreadPoolExecutor)))
17
17
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
+
18
31
(deftest only-smoke-test-run-test-deprecated
19
32
(testing " only test marked as smoke is run when test-all is used"
20
33
(let [{:keys [results] :as test-result} (session/message {:op " test-all"
You can’t perform that action at this time.
0 commit comments