Open TimoKramer opened 2 days ago
External test runners need to be on the classpath for Polylith to be able to see them. The poly
command uses its own fixed classpath (which has just the Polylith CLI JAR) - it doesn't use your project dependencies.
I never use the poly
tool itself but I suspect it's a shell script that wraps a java
invocation? I don't if you could modify that to include a classpath with the external test runner source directory but that seems a bit fragile...
I use clojure -M:poly test
-- using the project-specific :poly
alias.
But this is a good reminder to me to add a note to the docs saying you much use the :poly
alias, not the poly
tool.
Makes sense. I have another problem with poly invoking via clj unfortunately which I really can't figure out. But here's not the place to discuss that. Thanks and yes it makes sense to add a small note.
Hi, I am using your test runner for our polylith repo. Unfortunately running the test-runner with the poly binary in version 0.2.21 fails with FileNotFoundException. Is this expected?
Here I've added your test-runner to your usermanager example.
Thank you