Anybody knows why I can see in my external libs the junit 4 lib
but I can’t generate test classes because of this warning
c
Chrimaeon
07/19/2023, 7:27 PM
You cannot use junit in a common module. Are you trying to write test for this?
f
Farid Benhaimoud
07/19/2023, 7:29 PM
When I added the dependency in android module I could test functions in my common module using junit. I had to select android though before running the test. I should keep using kotlin test and add classes manually I suppose
c
Chrimaeon
07/19/2023, 7:31 PM
Sure in an android module you can use it, also in a JVM module, but not in a common shared module. There you can only use the Kotlin testing framework.