Fix JUnit5 display name did not show in Run tab Intellij
1 min readDec 24, 2019
I clone the JUnit-5-BDD from codecentric to test the BDD style of JUnit “https://github.com/codecentric/junit-5-bdd”
And this is the result
Which is not what I expected, I wanted to use the DisplayName Annotation to show
And I finally found the solution
Here’s how I fix it
Set “Run tests using” IntelliJ IDEA instead of Gradle.
And Voila!