This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-16
Channels
- # announcements (2)
- # architecture (3)
- # beginners (72)
- # cider (15)
- # cljs-dev (27)
- # clojure (85)
- # clojure-berlin (3)
- # clojure-dev (4)
- # clojure-europe (7)
- # clojure-italy (7)
- # clojure-nl (6)
- # clojure-uk (17)
- # clojurescript (63)
- # clojutre (10)
- # core-async (10)
- # cursive (10)
- # datomic (34)
- # events (4)
- # fulcro (3)
- # funcool (8)
- # incanter (1)
- # jackdaw (1)
- # jobs-discuss (6)
- # joker (4)
- # kaocha (7)
- # leiningen (8)
- # nrepl (6)
- # off-topic (11)
- # reagent (8)
- # shadow-cljs (119)
- # spacemacs (11)
- # sql (11)
- # vim (30)
- # yada (2)
Hi! I'm trying to use kaocha whilst using orchestra to instrument my functions. But when there is a spec problem with :args
and :ret
, it prints something like
Exception: java.lang.ClassCastException: class clojure.lang.Keyword cannot be cast to class java.lang.Number
Whereas with clojure.test I get
FATAL: Failed spec:
(2) - failed: vector? in: [3 0] at: [:args :search-params]
Is there any way around this?do you have a stacktrace for that exception? how/where/when are you calling orchestra?
Hi. Calling orchestra in a namespace with
(ns myapp.test.instrument
(:require [clojure.test :refer :all]
[orchestra.spec.test :as st]))
(st/instrument)
@U0LUZHXM2 I would ask in #expound, this seems to be happening on an internal datastructure of expound