Junit problem Follow
Hello,
When running Junit3.7 from ant within Idea #688 i get the following
response:
"could not create junit task" or something similar.
any hints or pointers ?
any help greatly appreciated..
/Frank
Please sign in to leave a comment.
Do you have a suite() method defined that is not static?
I had the same problem. The problem is that the junit and the junitreport task are optional ant tasks, which means they are not found in the normal ant.jar. They are located in the optional.jar in IntelliJ's lib directory. They way I solved this is right-click on the the ant window and go to properties. There, you can choose your classpath for ant. I just chose "Include project classpath", but I think you could also add optional.jar to the list as well. Hope this helps.
Tobin