Stendhal on Eclipse: Difference between revisions
Content deleted Content added
imported>Durkham |
imported>Madmetzger m →Running JUnit Tests in Eclipse: Exclusions from classpath |
||
Line 102:
# Eclipse always automatically sets up a new run configuration for you if you invoke the "Run As" -> "JUnitTest" context command on a class or folder. It creates a default classpath configuration derived from the project settings in this run configurations. So there is missing the 'Stendhal' root folder in the classpath, which results in failures running some test cases. To fix this, open the run configurations and add the 'Stendhal' root folder like described above for the client configuration:
# On the [Classpath] tab - button "Advanced" - (*) add folder | OK - and select the project root folder. | OK
# After adding project-root to your classpath, Eclipse should automatically exclude the folders "src/" and "tests/". If not, exclude them together with "tools/" and "tiled/src/".
== External links ==
| |||