polylith

itaied 2026-02-17T13:09:36.057419Z

when executing "poly test", does it load the :test namespace from the root deps.edn? do i have to add all the bricks and projects test paths? does it depend on the test-runner?

tengstrand 2026-02-17T13:22:33.607089Z

You mean the paths specified in the :test key (e.g. https://github.com/polyfy/polylith/blob/dc18d7a2baf69e03086fddfa408e1097fa4c45fa/deps.edn#L65)? No, that is only for the IDE integration to work properly. It's enough to list the bricks (e.g. like https://github.com/polyfy/polylith/blob/dc18d7a2baf69e03086fddfa408e1097fa4c45fa/deps.edn#L5) and the internal or external test runners will pick up the test directories and run the tests.

itaied 2026-02-17T13:27:09.773479Z

ok thanks but what do you mean "list the bricks"? where should i list them?

itaied 2026-02-17T13:27:49.240039Z

if i dont list anything in the :dev and :test keys, should poly pick and run the tests?

tengstrand 2026-02-17T13:48:06.920569Z

Normally, you list all (or most of) your bricks in deps.edn with the :local/root syntax.