It worked with the alias
When I run lein run -m user, does it run the dev ns or the test ns because both have the same name?
You would want to ensure you do not put non-unique classnames on the classpath at the same time. You can manage that by being more careful with the :source-paths you specify for the profile.
so for the testing run, you could do something where you did not include the “dev” path
:source-paths ["test"]
Or use ^:replace metadata with all the explicit source paths if you need to fully override itHey, have not used leiningen in a while. Is there an equivalent of :local/root to point at another local leiningen project in leiningen?
see "lein checkouts"