Run a single Junit Test in IntelliJ IDEA

en Peris :

I am new in IntelliJ IDEA and I want to execute a single Junit test as I do in Eclipse but I haven't seen this option

enter image description here

GhostCat salutes Monica C. :

Intellij runs the unit test in context of your selection!

When you place the cursor on the class name, it will run the whole class. If you select a method name, only that method gets executed (upon turning to the menu or context menu).

You can also select a package in the project view and get to corresponding behavior.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=128057&siteId=1