kaocha 2023-10-27

Is it kaocha that elides clojure.core frames in stack traces when a test throws an exception?

i'm running into some weirdness when using kaocha as the test runner through neovim's conjure plugin, and i'm trying to figure out where it's coming from

clojure test runner:

ERROR in (format-string) (NO_SOURCE_FILE:118)
Uncaught exception, not in assertion.
expected: nil
  actual: clojure.lang.ExceptionInfo: new
{}
 at timbre_json_appender.core_test$fn__23157$fn__23179.invoke (NO_SOURCE_FILE:118)
    timbre_json_appender.core_test$fn__23157.invokeStatic (NO_SOURCE_FILE:116)
    timbre_json_appender.core_test/fn (NO_SOURCE_FILE:108)
    clojure.test$test_var$fn__9856.invoke (test.clj:717)
    clojure.test$test_var.invokeStatic (test.clj:717)
    clojure.test$test_var.invoke (test.clj:708)
    clojure.test$test_vars$fn__9882$fn__9887.invoke (test.clj:735)
    clojure.test$default_fixture.invokeStatic (test.clj:687)
    clojure.test$default_fixture.invoke (test.clj:683)
    clojure.test$test_vars$fn__9882.invoke (test.clj:735)
    clojure.test$default_fixture.invokeStatic (test.clj:687)
    clojure.test$default_fixture.invoke (test.clj:683)
    clojure.test$test_vars.invokeStatic (test.clj:731)
    clojure.test$test_vars.invoke (test.clj:723)
    timbre_json_appender.core_test$eval23193.invokeStatic (NO_SOURCE_FILE:1)
    timbre_json_appender.core_test$eval23193.invoke (NO_SOURCE_FILE:1)
    clojure.lang.Compiler.eval (Compiler.java:7194)
    clojure.lang.Compiler.eval (Compiler.java:7149)
    clojure.core$eval.invokeStatic (core.clj:3215)
    clojure.core$eval.invoke (core.clj:3211)
...
kaocha test runner:
Randomized with --seed 1501046751
ERROR in timbre-json-appender.core-test/format-string (NO_SOURCE_FILE:118)
Uncaught exception, not in assertion.
Exception: clojure.lang.ExceptionInfo: new
{}
 at timbre_json_appender.core_test$fn__23077$fn__23099.invoke (NO_SOURCE_FILE:118)
    timbre_json_appender.core_test$fn__23077.invokeStatic (NO_SOURCE_FILE:116)
    timbre_json_appender.core_test/fn (NO_SOURCE_FILE:108)
    kaocha.type.var$test_var.invokeStatic (var.clj:24)
    kaocha.type.var$test_var.invoke (var.clj:20)
    kaocha.type.var$eval22334$fn__22336$wrapped_test__22339.invoke (var.clj:36)
    kaocha.plugin.capture_output$capture_output_pre_test_hook$fn__19493$fn__19494.invoke (capture_output.cljc:97)
    kaocha.type.var$eval22334$fn__22336.invoke (var.clj:38)
    ...
    kaocha.plugin.capture_output$capture_output_wrap_run_hook$fn__19485$fn__19486.invoke (capture_output.cljc:88)
    ...
    kaocha.plugin.capture_output$capture_output_wrap_run_hook$fn__19485.doInvoke (capture_output.cljc:88)
    ...

yes, that's kaocha. It's configurable, check the docs.