Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
AI-221.3427.89.2211.8689873, JRE 11.0.13+0-b1751.21-8125866x64 JetBrains s.r.o., OS Mac OS X(x86_64) v12.4, screens 3584.0x2240.0, 2560.0x1440.0; Retina
AS: dev build
Kotlin plugin: 213-1.6.21-release-for-android-studio-AS6777.52
Android Gradle Plugin: 7.2.1
Gradle: 7.3.3
Gradle JDK: version 11.0.13
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: 3.20.0Source: send_feedback_icon
IMPORTANT: Please read
After upgrading to Electric Eel Canary 4, when I run unit tests, the Run view no longer shows the results of the unit tests.
Consider the following simple unit test in Kotlin:
package com.example
import org.junit.Test
import org.junit.jupiter.api.Assertions.assertEquals
class SampleUnitTest {
@Test
fun testThatPasses() {
assertEquals(3, 1 + 2)
}
@Test
fun testThatFails() {
assertEquals(5, 2 + 2)
}
}
When I run this on any previous version of Android Studio, there is a graphical display of the results, showing the number of tests in total and the number of failures, and a filterable listing of the per-test results. In Electric Eel Canary 4, the task just misleadingly shows Success even though there was a test failure, and no other information about the tests that were run.
Attached screenshots from Dolphin Beta 3 and Electric Eel Canary 4.