您的位置:軟件測試 > 開源軟件測試 > 開源單元測試工具 > junit
Idea中配置使用Junit
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時間:[ 2015/10/30 15:19:45 ] 推薦標(biāo)簽:軟件測試工具 單元測試工具

  后,配置idea,運(yùn)行Junit test。idea右上角,點(diǎn)擊下拉框,選擇Edit configuration -> "+" ->Maven 配置Working directory為代碼目錄; command line中填入:clean complile test,表示讓執(zhí)行mvn clean&compile&test。保存配置。點(diǎn)擊綠色三角號,運(yùn)行test,在底部的輸出欄內(nèi)可看到如下內(nèi)容:
D:studymaven