Search code examples
eclipsejuniteclipse-mars

What does "Not connected to AUT Agent" on Eclipse means?


My Eclipse status bar is showing this weird message and refuses tu run Junit tests: enter image description here

My question is:

  • What does this message means?
  • Has it anything to do with my problem with running Junit tests?

I am using eclipse Mars:

Version: Mars.2 (4.5.2)
Build id: M20160212-1500

Solution

  • Take a look at Eclipse Bug 484390. The relevant discussion is near the bottom.

    "but i found the problem. it was an error in the AUT configuration. i had typed into the field "Executable File Name" the path to the .bat with which i used to start the gui. but that seems to be wrong. now i give this field the path to the java.exe, the "AUT Working Directory" the path to the \lib dir where the jars are and as "AUT Arguments" -classpath "file1.jar,file2.jar,..." . that worked and the object mapping mode shows me some green highlighting."