Take too much time until test is finished...1-5min...
# android
d
Take too much time until test is finished...1-5min. If is written in Java take just 1-2 sec
p
Do you mean for Junit tests, or for instrumented Android tests?
I definitely do not have that experience for regular unit tests, btw.
2
d
JUNIT TESTS
a
instrumented tests use junit too
p
sure, but then you can wave your hands and say "jvm runtime slow something something"
h
paste your code here. for java to finish in 1~2 seconds, it seems you only have 1 or 2 tests?
d
@Hong is just 1 test
I run just small tests
h
i have 45 unit tests, it finishes in 1~2 minutes using gradlew test cmd
is your test starts from clean and need to download stuff?
d
Yes, start from clean and don't need to download something
a
I have like 400 tests that take less than a few seconds all kotlin
4
g
Looks like some specific problem in you case. Maybe you could reproduce this on some sample project