2017-11-03 1 views

答えて

0

私が見つけた解決策はここにあります。

あなたは、外部のシステムプロパティに基づいて、これを除外することができます。

-Dtest.profile=integration 

とbuild.gradleで

test { 
    if (System.properties['test.profile'] != 'integration') { 
    exclude '**/*integrationTests*' 
    } 
} 
関連する問題