天天看點

testNg,在idea中的xml,右鍵沒有 run

idea在2020.3版本開始,idea不自動支援testng的xml檔案run的功能,但是可以進行配置

1.進入idea右上角的 Edit-Configuration

testNg,在idea中的xml,右鍵沒有 run

 2.

testNg,在idea中的xml,右鍵沒有 run

 3.再去右鍵xml檔案就可以了

testNg,在idea中的xml,右鍵沒有 run