How to specify which @Tag should be used for JUnit in IntelliJ IDEA

Dieter :

Is there a way to specify from the build in JUnit5 Runner of IntelliJ that only test methods with specific @Tag should be tested (or the opposite, that all tests except those with a specific @Tag, should be executed)?

I know how to do it with maven, but is it possible with just the IntelliJ UI?

Best regards, Dieter

Sormuras :

With https://youtrack.jetbrains.com/issue/IDEA-163481 fixed, it is now possible since IJ 2018.1 -- for details see @Nicolau 's answer.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=444508&siteId=1