How do I run a JUnit test in IntelliJ?

How do I run a JUnit test in IntelliJ?

Place the caret on the test class or the test method and press Ctrl+Shift+F10 to run all tests in that class or method. To run all tests in a folder, click it in the Project tool window and press Ctrl+Shift+F10, or use the context menu to select Run Tests in ‘folder’.