This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-07-17
Channels
- # babashka (9)
- # beginners (10)
- # calva (10)
- # cider (2)
- # clojure (19)
- # clojure-denver (11)
- # clojure-europe (13)
- # clojure-nl (1)
- # clojure-norway (17)
- # clojure-uk (3)
- # clojurescript (30)
- # conjure (1)
- # core-typed (15)
- # cursive (26)
- # data-science (4)
- # datomic (5)
- # emacs (6)
- # events (1)
- # fulcro (14)
- # honeysql (15)
- # hyperfiddle (51)
- # lsp (1)
- # obb (36)
- # off-topic (7)
- # polylith (4)
- # practicalli (12)
- # reitit (20)
- # shadow-cljs (25)
- # xtdb (4)
Hi everyone. I've just created a new component and tests are not running for it even passing :dev
, :all-bricks
and :all
in every possible combination. This is what I get in my poly info
projects: 3 interfaces: 3
bases: 0 components: 3
project alias status dev
----------------------------------- ---
integration-tests * itests --- ---
unit-tests utests --- ---
development * dev s-- s--
interface brick itests utests dev
--------------------- -------------- ---
config config * -tx -tx st-
database database * -tx -tx st-
logger logger * --- -tx st-
Does anyone knows what should I do to make them run? I tried to create one project for each test to have specific kaocha config for each test type. But even with that tests didn't ran for the logger
project (the one I've just created)
I've included paths to my root deps.edn
for components/logger/src
and components/logger/test
Hey there. You mention Kaocha - how are you trying to use it with polylith? In case the answer to that is polylith-kaocha, have you followed the integration steps on the p-k gh readme? In case the answer is yes, do the tests in question run if you run them with the default test runner?
Hi @U08BJGV6E.
Yep. I'm using poly-kaocha, and aI've added those extra deps in both root deps.edn
(test-runner) and component specific deps.edn
(wrapper).
Good catch about run with default test runner. It has worked for all bricks. Now when I try to run with poly-kaocha it does not run the logger
one.
I'm tryping to remove my kaocha config and run it again with p-k
Edit: Still not running logger
component's test
Right... I found the issue.
It was between the screen and the chair :man-facepalming:... I messed up with my logger
's deps.edn at some point. My IDE was not updating my buffer from disk so in my IDE it was okay, but in my Disk it was not...
Thank you for the support!