Prateek S
Prateek S

Reputation: 81

Unable to load a Suite class

enter image description here

Unable to load a Suite class. This could be due to an error in your runpath.

i am getting this error while trying to run scala test case. kindly suggest.

Upvotes: 3

Views: 7930

Answers (2)

alex
alex

Reputation: 1917

i solved the same problem by checking "Use SBT" option in test run configuration under Edit Configuration>Test Class

Upvotes: 1

WeiChing 林煒清
WeiChing 林煒清

Reputation: 4469

I have same error message as yours.

What I do is: In your test run configuration(go "Edit Configuration" > "Use classpath ... of module") select the right module at place the image show. enter image description here

At least this solve my problem that I target to wrong module. May it help you.

Upvotes: 2

Related Questions