java - Integrate JUnit 5 tests results with Intellij test report -


my build.gradle configure this:

apply plugin: 'java'  compiletestjava {     sourcecompatibility = 1.8     targetcompatibility = 1.8 }  repositories {     mavencentral() }  dependencies {     testcompile("org.junit.jupiter:junit-jupiter-api:5.0.0-m1")     testruntime("org.junit.vintage:junit-vintage-engine:5.0.0-m1") } 

and simple test this:

public class junit5test {     @test     void test() {      } } 

when execute test, see in console:

test run finished after 76 ms [         1 tests found     ] [         0 tests skipped   ] [         1 tests started   ] [         0 tests aborted   ] [         1 tests successful] [         0 tests failed    ]  build successful 

but there's nothing in test report:

enter image description here

what do wrong? how can integrate junit 5 results test report windows ?

i'm using intellij 2016.2

when execute tests gradle results printed console shown above. if want see results in idea's test report window can execute test within ide using brand new built-in support: https://www.jetbrains.com/idea/whatsnew/#v2016-2-java

hope helps - regards matthias


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -