How do I run junit in IntelliJ?

How do I run junit in IntelliJ?

In Eclipse, navigate to the test class, right-click, and select run as junit. We do something similar. It’s the same in Intellij. Go to the test class and right-click on run as junit.