Run Unittest does not synchronize files before running maven goal.

In "Before launch" in "Run/Debug configurations" i have set up "Run Maven Goal" test-compile for my unittests.
When I start a unittest, my latest modifications in the editor are not saved, I need to press the save button, very annoying !

If I use "Make" instead of "Run Maven Goal" the files are automatically saved.

For now I need to use maven to 'test-compile', make is not an option.

My synchronization settings for the editor are Synchronize files on frame activation and Save files on frame deactivation

Any suggestions ?

Regards
Sottos

Please sign in to leave a comment.