How to copy test files to build dir for JUnit tests?

Is there a way, other than invoking an ANT target to do this, to get IDEA to copy
test files to the build directory so that they're available to JUnit tests (on the class
path during execution)?

I'm sure I'm just not seeing it and it's right there in front of me (wouldn't be the first time either...)

Bonny

2 comments

The compiler settings for the project lets you configure "resources" mappings for things like this. The defaults include *.xml, *.properties etc. etc. and you can extend that as you wish..

0

Mark,

thank you - I knew I missed something (well, usually we use ant to do all these,
bute it seems too heavy just to set up a simple one junit test).

(Good luck in the world cup...)

Cheers,

Bonny

0

Please sign in to leave a comment.