2016-01-06 65 views
1

我正在使用Eclipse Mars for Java。昨天我有原因運行我的JUnit測試的一個子集,即使其他.java文件未能建立。有一個對話讓我這樣做,不幸的是我不記得確切的文字,但它是像「有編譯問題,你想要運行測試嗎?」。昨天我檢查了該對話框中的「不要再問我」框。現在我不知道如何恢復。使用Eclipse構建失敗後的運行測試

如何取消該偏好設置?

回答

1

你的意思是這個警告對話框?

enter image description here

您需要設置提示當你的項目,如果你決定要測試具有編譯錯誤顯示一個警告對話框。

轉到:

Eclipse - Windows - Preferences - Run/Debug - Lauching 

Continue launch if project contains errors 
Prompt 

enter image description here

相關問題