Unable to run Groovy Test Suite after changes
Hi All,
I am experiencing strange issues with the Groovy setup in my Java project.
I have a normal Java web application project with some test cases written in Groovy. With my current configuration, I am able to run Groovy tests as long as i don't make change to the test file. I cannot run the test again after I make any change. Here is the error I get on the console.
Class not found: "com.netdimen.dao.appl.TaskReminderLogDaoTest"
Process finished with exit code 1
Here is a screen shot of the source code. I can provide the file but does not seem to be an issue witht the source code as I am able to run the test before making any changes to it.
Here is how it is configured.
I am using the latest version 12.1.1 of IntelliJ Ultimate on Mac OS 10.8.3.
Not sure what else is useful to diagnose the problem but I can provide more info if required.
It is probably a mis-configuration by me and any advice would be much appricieated.
Thanks a lot.
Regards
Shravan
请先登录再写评论。
Hello.
Sorry for delay. I have failed to reproduce this, but we can try some hints.
Please, do main menu / Run / Edit Configurations, get the dialog and find the test configuration you try. Check Before Launch section. Do you have Make task there? Try to add, if not.
Regards,
Alexander.
Hi Alexander
Thank you for your reply. Yes this is a strange problem. I have been working on Intellij for Groovy development for a while now and never experienced this.
Here is my run config and i do have Make selected.
Let me know if you need any other infomration that can help with this issue for me.
Thanks a lot again.
Regards
Shravan
I'm still guessing. Please, try tweaking Settings / Compiler. Set "Make project automatically" On/Off, "Use external build" On/Off (just notice that in the future IDEA will support only external build).
Thanks,
Alexander.