cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
578 stars 7 forks source link

REPL logs error when running defspec #1525

Closed dmarjenburgh closed 2 years ago

dmarjenburgh commented 7 years ago

When using the defspec macro from clojure.test.check.clojure-test, the REPL logs the following error every time the test is run with the Run tests in current NS in REPL command.

image

When the test-var is run as a function in the repl, no error is shown. Only on the REPL command. (I'm using OS X 10.11.6, Cursive 1.4.0-eap2-2016.2, Clojure 1.8.0, test.check 0.9.0)

ikitommi commented 7 years ago

Same here with the latest version per today, with this ns:

https://github.com/metosin/spec-tools/blob/master/test/cljc/spec_tools/json_schema_test.cljc

using [com.gfredericks.test.chuck.clojure-test :refer [checking]]

miikka commented 5 years ago

Still experiencing this when using defspec with Cursive v1.8.0-2018.3.

conan commented 5 years ago

I'm also experiencing this problem, and I can't run the test under the caret - it isn't interpreted as a test because there's no deftest presumably. More importantly, I don't get the test results so I can't use Cursive to run namespaces that contain these kinds of tests, which is a big hit to productivity.

Cursive 1.8.2-eap4-2019.1

Vinai commented 4 years ago

Still happening with 1.9.1-eap1-2019.1