Running unit tests from currently opened file in IntelliJ IDEA
2022-09-01 13:17:06
Is there any way to have IntelliJ run the current MyTest.java file I'm looking at?
Thanks
Is there any way to have IntelliJ run the current MyTest.java file I'm looking at?
Thanks
Yeah, you can either:
Run 'MyTest'
Accepted answer did not work for me on a MacOS running Android Studio 2.1.13 .
After looking up the "Run Context Configuration" action mentioned by @ShawnFumo's comment, I found Ctrl + Shift + R which ended up working.