kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
plexus 2021-05-07T05:15:14.073Z

you will always get all testables passed in, but some will be marked as skipped

plexus 2021-05-07T05:18:35.073200Z

I would use pre-run and post-run to start/stop the container, and pre-test to reset it

plexus 2021-05-07T05:19:53.073400Z

(hierarchy/leaf? {:kaocha.testable/type :kaocha.type/var})
;; => true

richiardiandrea 2021-05-07T05:36:37.073600Z

Thanks yes that now makes sense...and well I was trying another route now (kinda late here) to use wrap-run That works, except my test has an :each fixture that uses a dynamic var. I do binding in wrap-run but for some reason it arrives nil within the test fixture

richiardiandrea 2021-05-07T05:37:17.073800Z

if fixtures are loaded at "load time" probably that is why I can't seem to make this work

richiardiandrea 2021-05-07T05:39:52.074100Z

anyways thank you for your explanation!

kirill.salykin 2021-05-07T13:58:46.074900Z

hi I am trying to run kaocha with cloverage plugin but have an error

lein kaocha --plugin cloverage
ERROR: Couldn't load plugin kaocha.plugin/cloverage
is there a way to have it more verbose?

kirill.salykin 2021-05-07T13:59:04.075200Z

please help

kirill.salykin 2021-05-07T14:40:56.075800Z

also, when I run kaocha with coverage is see this wan

16:39:49.429 [main] WARN  cloverage.instrument - Unknown special form (monitor-enter lockee__5714__auto__)
16:39:49.442 [main] WARN  cloverage.instrument - Unknown special form (monitor-exit lockee__5714__auto__)
and some tests fail

plexus 2021-05-07T14:42:50.076200Z

that last one you'll have to report with the cloverage folks

kirill.salykin 2021-05-07T14:43:00.076600Z

roger, thanks!

plexus 2021-05-07T14:43:03.076800Z

The first can you create a github issue with your project.clj and tests.edn?

kirill.salykin 2021-05-07T14:43:10.077Z

thank you

Alys Brooks 2021-05-07T15:49:41.077900Z

Is anyone using Kaocha's watch functionality with macOS Big Sur (11.3)? I'd like to confirm that this issue is fixed: https://github.com/lambdaisland/kaocha/issues/151

richiardiandrea 2021-05-07T16:13:30.078100Z

@plexus How do you recommend checking if a test suite is "skipped"

richiardiandrea 2021-05-07T16:13:39.078300Z

is there an api for that?