How to know the version of JUnit in Eclipse

前端 未结 7 840
甜味超标
甜味超标 2021-01-11 18:55

In eclipse:

  1. Window --> Preferences
  2. Expand Java at left side of panel --> JUnit is there under Java

How can I know the version of JUnit

7条回答
  •  借酒劲吻你
    2021-01-11 19:31

    If you selected JUnit4 over JUnit3, the version that Eclipse uses is the one in eclipse/plugins/org.junit_XXXX. For Eclipse Luna, it is eclipse/plugins/org.junit_4.11.0.v201303080030. Note that if you want to change it, based on all the things I tried, you can replace the junit.jar contained inside with the version you want.

提交回复
热议问题