{:kaocha/tests [{:kaocha.testable/type :kaocha.type/clojure.test
:kaocha.testable/id :internal-integration
:kaocha/ns-patterns ["path\\..*"]
:kaocha/source-paths ["src"]
:kaocha.filter/skip-meta [:dev-only]
:kaocha/test-paths ["test/path"]}]
:kaocha.hooks/pre-load [path.hooks/pre-load]
:kaocha.hooks/wrap-run [path.hooks/wrap-run]
:kaocha/reporter kaocha.report/documentation
:kaocha/plugins [:hooks
:kaocha.plugin/randomize
:kaocha.plugin/filter
:kaocha.plugin/print-invocations
:kaocha.plugin/profiling]
:kaocha.plugin.profiling/count 3
:kaocha.plugin.profiling/profiling? true
}
hooks.clj
(defn pre-load [config]
(log/error "Starting pre-load")
config)
on boot
2025-04-08T21:23:27,316 [main] ERROR path.hooks - Starting pre-load
2025-04-08T21:23:27,316 [main] ERROR path.hooks - Starting pre-load
When using pre-load or pre-run I am seeing them run twice. I would expect them to only run once.
{:kaocha/tests [{:kaocha.testable/type :kaocha.type/clojure.test :kaocha.testable/id :internal-integration :kaocha/ns-patterns ["path\\..*"] :kaocha/source-paths ["src"] :kaocha.filter/skip-meta [:dev-only] :kaocha/test-paths ["test/path"]}] :kaocha.hooks/pre-load [path.hooks/pre-load] :kaocha.hooks/wrap-run [path.hooks/wrap-run] :kaocha/reporter kaocha.report/documentation :kaocha/plugins [:hooks :kaocha.plugin/randomize :kaocha.plugin/filter :kaocha.plugin/print-invocations :kaocha.plugin/profiling] :kaocha.plugin.profiling/count 3 :kaocha.plugin.profiling/profiling? true }hooks.clj
on boot
When using pre-load or pre-run I am seeing them run twice. I would expect them to only run once.