Fork me on GitHub

Is there a good way to make running tests via cider and using environ to define a test db url play nice together?


if i run lein test my tests work with my test profile, but when using cider it uses my dev profile.


We had that issue, in the end defined what db to use for tests independent of profiles. Not sure if there is a good solution


cider runs "inside" leiningen, it cannot control leiningen.


@dominicm i had the realization a bit after posting here as well.


@kardan i’m going to do something similar. a full test run im a ci pipeline can use a defined test profile and therefore db, i’m just going to be ok with cider running tests against my local dev profile for convenience of quick testing feedback