How to know the version of JUnit in Eclipse

前端 未结 7 842
甜味超标
甜味超标 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:52

    You can use this code:

    import junit.runner.Version;
    
    System.out.println("JUnit version is: " + Version.id());
    
    0 讨论(0)
提交回复
热议问题