2016-09-27 44 views
0

如果我點擊一個包,並做控制移-F10,它失敗與此錯誤:如何讓我的IntelliJ IDEA運行所有測試,包括子包

Error running ScalaTests in 'tests': Not found suite class. 

當打開測試配置我見在「測試包」是

src.main.scala.com.myproject.pro.integration.tests

當我改變它爲:

com.myproject.pro.integration.tests

它只是運行existi測試ng,而不運行子包測試。

我的配置:

enter image description here

回答

0

解決的辦法是:

1-馬克父文件夾爲 「測試源根」 enter image description here

2-單擊您的套房,然後點擊on control-shift-F10

3-運行測試

相關問題