This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-31
Channels
- # announcements (5)
- # babashka (105)
- # beginners (92)
- # calva (77)
- # cider (17)
- # cljdoc (8)
- # cljs-dev (8)
- # cljsrn (8)
- # clojure (272)
- # clojure-dev (25)
- # clojure-europe (5)
- # clojure-italy (6)
- # clojure-nl (7)
- # clojure-norway (3)
- # clojure-uk (108)
- # clojurescript (326)
- # code-reviews (4)
- # cursive (6)
- # datomic (37)
- # duct (5)
- # emacs (14)
- # fulcro (23)
- # graphql (1)
- # juxt (1)
- # kaocha (2)
- # leiningen (10)
- # malli (9)
- # music (1)
- # nrepl (12)
- # pathom (21)
- # pedestal (2)
- # planck (4)
- # quil (3)
- # reitit (29)
- # rewrite-clj (10)
- # shadow-cljs (82)
- # spacemacs (29)
- # sql (6)
- # tools-deps (19)
Hello! I’m trying to run spec tests from kaocha as documented in https://cljdoc.org/d/lambdaisland/kaocha/0.0-554/doc/automatic-spec-test-check-generation here is my config:
#kaocha/v1
{:tests [{:kaocha.testable/type :kaocha.type/spec.test.check
:kaocha.testable/id :spec}
{:kaocha.testable/type :kaocha.type/clojure.test
:kaocha.testable/id :unit}]}
But when I run tests they fail with very weird error message:
➜ posh git:(master) ✗ lein kaocha
[(EE)()()()()()()()()()()()()()][(...............)(.)(...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................)]
Randomized with --seed 2041032012
ERROR in posh.core/bad-fn (form-init7880913194983466885.clj:1)
Uncaught exception, not in assertion.
Exception: java.util.concurrent.ExecutionException: Syntax error compiling at (clojure/test/check/clojure_test.cljc:95:1).
at java.util.concurrent.FutureTask.report (FutureTask.java:122)
java.util.concurrent.FutureTask.get (FutureTask.java:191)
...
kaocha.type.spec.test.fdef$eval3953$fn__3956$fn__3960.invoke (fdef.clj:66)
kaocha.type.spec.test.fdef$eval3953$fn__3956.invoke (fdef.clj:63)
...
kaocha.plugin.capture_output$capture_output_wrap_run_hook$fn__2634$fn__2635.invoke (capture_output.clj:83)
...
kaocha.plugin.capture_output$capture_output_wrap_run_hook$fn__2634.doInvoke (capture_output.clj:83)
...
kaocha.testable$run.invokeStatic (testable.clj:119)
kaocha.testable$run.invoke (testable.clj:110)
...
kaocha.testable$run_testable.invokeStatic (testable.clj:189)
kaocha.testable$run_testable.invoke (testable.clj:148)
kaocha.testable$run_testables.invokeStatic (testable.clj:202)
kaocha.testable$run_testables.invoke (testable.clj:192)
kaocha.type.spec.test.ns$eval4017$fn__4018.invoke (ns.clj:45)
...
Could someone please help me with that. I don’t have any spec in repo except two example functions documented in kaocha docs.Here is the minimal reproduction repo https://github.com/denistakeda/stest