To run a ScalaTest test in IntelliJ, you have to add a run configuration. Most Intellij users probably know how to do this, but for those who don't, here are the steps.
- Click "Edit Configurations" in the Run menu dropdown (right next to the green play arrow).
- Click the + button to add a new run configuration. This brings up a dropdown containing different runners.
- ScalaTest is in the list, choose it.
- Fill in the classname of your test by typing it, or selecting the "..." button to bring up the class finder dialog.
- Click ok.
- Run!
Hello, Jack.
ReplyDeleteThere is one more way to run quickly ScalaTest from inside an editor. Just press Ctrl-Shift-F10 (like, say, for Java app. run configuration). New configuration will be created and run immediately.
Thanks for pointing to right-click problem. We'll fix it.
With best regards,
Ilya Sergey
Thanks Ilya. That's great news.
ReplyDeleteBy the way, whats the best way to communicate with your team? I have a lot of comments/requests/problems/etc.
Hi, Jack.
ReplyDeleteTry the last build from plugin repository, the bug you've mentioned is fixed in it.
There are several ways to communicate with us:
Forum: http://www.jetbrains.net/devnet/community/idea/scala_(eap)
Bugtracker: http://www.jetbrains.net/jira/browse/SCL
Also you may write to ilya.sergey@jetbrains.com
With best regards,
Ilya