Unittesting and dependencies

One more issue with running unittests through idea:
If i right-click a package with tests under Module A and choose "Run tests", why does the "working directory" for that test under "edit configurations" point to module B?

Is there some setting for the project to always use the current modules paths when running tests? What is the logic behind this? Module A is not dependent on module B.

1 comment

Hello Sakke,

The only idea comes to my mind you've probably specified this directory in
default (template) settings for JUnit configurations. Just clean out the
field and things should become OK.


Maxim Shafirov
JetBrains, Inc
"Develop with pleasure!"


Please sign in to leave a comment.