Reputation: 81
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
Reputation: 1917
i solved the same problem by checking "Use SBT" option in test run configuration under Edit Configuration>Test Class
Upvotes: 1
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.
At least this solve my problem that I target to wrong module. May it help you.
Upvotes: 2