但基於相容性, @RunWith 仍可在JUnit5中使用. 2.使用@RunWith 即可在較舊的JUnit環境下跑JUnit5的測試. 舉例: 在只支援JUnit4的Eclipse版本上.
確定! 回上一頁