JUnit4 + Eclipse “An internal error occurred during Launching”

后端 未结 10 1604
深忆病人
深忆病人 2020-12-09 16:37

I\'m trying to run JUnit4 test cases on Eclipse 3.4.2 but it\'s not even starting for me. I have the junit-4.7.jar in my build path and the test application.

Here i

10条回答
  •  无人及你
    2020-12-09 17:25

    This worked for me:

    1. create another copy of the test class (CopyOfUTest.java)
    2. run the copy to make sure it passes
    3. go into Run > Run Configurations
    4. under JUnit, find the run configurations for the original class and the copied class
    5. right click and delete the configuration of the original class
    6. rename the configuration of the copied class to the original configuration name
    7. delete the copied class from the project

提交回复
热议问题