How to include Flexunit test resources

I'm trying to set up some Flexunit unit tests, and I'm mostly successful, but the unit tests which require test resources (xml files and the like) are failing. I've marked my resources folder as a "test resources folder", but I dont see any option to force the FlexUnit runner to copy those resources to the out folder, and I am getting IO Exceptions because my asset loaders dont find the files.

What am I doing wrong? Is there another place to specify these test resources to copy?

thanks

0
1 comment

I guess you use IntelliJ IDEA 13 EAP. You should mark the folder with resources as a Test Source folder (not test resource folder). Make sure you have 'copy resource files' enabled at Project Structure | Modules | [your module] | [your build configuration subnode] | Compiler Options tab.

0

Please sign in to leave a comment.