Adding resources only required for test with Leiningen

I am using cursive in Intellij. I tried adding the following under :profiles in project.clj

:dev       {:resource-paths ["src/test/resources"]}

But when I run the test, they don’t seem to be able to read from the test/resources directory

Is your test folder really underneath your src folder? That sounds like a very unusual setup.

1 Like

my bad. it was not in the src folder. The path was just test/resources. Updating the path worked. Thanks:)

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.