Should modules export their test output dir?

Is it a good idea that modules expose their test output directory to dependent modules?
It seems strange to me. Could it at least be an option?

/Mikael

3 comments
Comment actions Permalink

Hello Mikael,

They do so only for test source roots of dependent modules. I.e. production
depends on production and test depend on production and tests. Seem reasonable,
er?

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Is it a good idea that modules expose their test output directory to
dependent modules? It seems strange to me. Could it at least be an
option?

/Mikael



0
Comment actions Permalink

That seems reasonable. Generated ant files seem to work differently. Here's a sample:

]]>

The ant file appears to make both production output and test output of the orange
module available to the production code of the banana module.

0
Comment actions Permalink

Hello Mikael,

That's a bug indeed.

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.