Instrumented tests failure with AndroidJUnitRunner 1.0.0 and AssertJ : <p>I'm trying to update my project to recently released Android Test Support library version <strong>1.0.0</strong>. But if I add <code>assertj-core</code> dependency Gradle instrumented test tasks start to fail with "No tests found" message. I can successfully run individual tests from IDE though.</p>

<p>It is easy to reproduce the problem: </p>

<ol>
<li>Create new project from Android Studio 3 with empty activity.</li>
<li>Add <code>assertj-core</code> dependency.</li>
<li>Run instrumentation tests from command line <code>./gradlew connectedDebugAndroidTest</code>.</li>
</ol>

<p>Gradle script.</p>

<pre><code>android {
    defaultConfig {
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
}

dependencies {
    implementation 'com.android.support:appcompat-v7:26.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.0'
    androidTestImplementation group: "org.assertj", name: "assertj-core", version: "2.8.0"
}
</code></pre>

<p>Console output.</p>

<pre><code>com.android.builder.testing.ConnectedDevice &gt; No tests found.
[Nexus_4_API_25(AVD) - 7.1.1] FAILED 
No tests found. This usually means that your test classes are not in the form that your test runner expects (e.g. don't inherit from TestCase or lack @Test annotations).
</code></pre>

<p>Tests successfully run if downgrade <code>com.android.support.test:runner</code> to previous version <strong>0.5</strong>.</p>
