When I updated project to AndroidStudio 3 unit tests became runnig slowly (about 6 mimutes) than AndroidStudio 2. Recently, I updated project to AndroidStudio3.1, but test running time stayed the same.
When I updated project to AndroidStudio 3 unit tests became runnig slowly (about 6 mimutes) than AndroidStudio 2. Recently, I updated project to AndroidStudio3.1, but test running time stayed the same.
It's a (now) known issue for Kotlin in AS 3 https://issuetracker.google.com/issues/37028496 This happens because AS calls the assemble* tasks (which build up the APK) for kotlin unit tests.