idea 使用@Test :

idea 使用@Test :
file —setting----plungs----输入junit------选择JUnit Generator V2.0安装,重启idea。

再在项目中写如@Test 多次敲击 alt+enter 选择 junit4…即可。

你可能感兴趣的:(idea 使用@Test :)