mardi 4 décembre 2018

Integration Tests with Gradle 5.0

I'd like to create dedicated task for integration test in gradle. I have multimodule project. In project build.gradle I've task:

integrationTest(type:Test){
    useJUnit {
        includeCategories("examplePackage.IntegrationTest")
    }
}

It should run tests marked with: @Category(IntegrationTest.class)

but when I run this, it says Test events were not received What am I doing wrong.

Aucun commentaire:

Enregistrer un commentaire