This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-18
Channels
- # announcements (1)
- # asami (17)
- # babashka (43)
- # beginners (36)
- # biff (2)
- # calva (24)
- # clerk (3)
- # clj-kondo (9)
- # cljdoc (18)
- # clojure (16)
- # clojure-berlin (1)
- # clojure-europe (7)
- # clojurescript (8)
- # clr (4)
- # conjure (3)
- # cursive (2)
- # emacs (15)
- # funcool (4)
- # humbleui (2)
- # hyperfiddle (116)
- # kaocha (3)
- # malli (5)
- # membrane (23)
- # off-topic (16)
- # pathom (3)
- # reitit (25)
- # releases (3)
- # shadow-cljs (13)
- # xtdb (6)
I'm trying to use the profiler and nothing gets printed out. This is kaocha version 1.77.1236, I run (kaocha.repl/run <some-namespace>)
, and my (kaocha.repl/config)
output is
{:kaocha/tests
[{:kaocha.testable/desc "integration (clojure.test)",
:kaocha.testable/type :kaocha.type/clojure.test,
:kaocha.testable/id :integration,
:kaocha/ns-patterns ["-test$"],
:kaocha/source-paths ["src"],
:kaocha/test-paths ["test"],
:kaocha.filter/skip-meta [:kaocha/skip :migration :wind]}
{:kaocha.testable/desc "migration (clojure.test)",
:kaocha.testable/type :kaocha.type/clojure.test,
:kaocha.testable/id :migration,
:kaocha/ns-patterns ["-test$"],
:kaocha/source-paths ["src"],
:kaocha/test-paths ["test"],
:kaocha.filter/skip-meta [:kaocha/skip],
:kaocha.filter/focus-meta [:migration]}],
:kaocha.plugin.profiling/count 10,
:kaocha.plugin.junit-xml/target-file "report.xml",
:kaocha.plugin.profiling/profiling? true,
:kaocha/fail-fast? false,
:kaocha/color? true,
:kaocha.plugin.randomize/seed 138009294,
:kaocha.plugin.randomize/randomize? true,
:kaocha/plugins
[:kaocha.plugin/randomize
:kaocha.plugin/filter
:kaocha.plugin/capture-output
:kaocha.plugin/junit-xml
:kaocha.plugin/profiling],
:kaocha.plugin.capture-output/capture-output? false,
:kaocha/reporter [kaocha.report/dots],
:capture-output? false}
Test output is just
[(........)]
8 tests, 8 assertions, 0 failures.
Yes, I think kaocha.api
doesn't run the post-summary
hook, which is where the profiling information is printed. (discussed here: https://github.com/lambdaisland/kaocha/issues/332) We should probably handle post-summary
in kaocha.repl
, too.