Fork me on GitHub
#kaocha
<
2019-08-07
>
vikeri07:08:07

Hi, I can’t seem to get use-fixtures to work in kaocha. Any ideas what I might be doing wrong?

plexus07:08:42

clojure or clojurescript? :once or :each?

plexus09:08:09

should work... do you have a repo that you can share that reproduces the issue?

vikeri13:08:30

Actually, I think the issue was that I didn’t see the output of the println so I assumed that they were not run. Let me investigate some more

vikeri13:08:44

I saw later that Kaocha by default hides the println output

plexus13:08:28

it shows them if the test fails, otherwise it hides them to keep your output tidy. You can easily turn this off with --no-capture-output

👍 4
avi15:08:30

👋 Does Kaocha support passing (via command args) a list of file paths (pointing to clj files containing test namespaces) as a way to specify which tests to run? I’m trying to split my test running in my CircleCI job, and CircleCI has a built-in facility wherein it’ll split up my test files for me, according to the level of parallelism I’ve specified. But it outputs file paths. I’m using eftest right now but it doesn’t accept file paths, only directory paths or namespace names.