mostly an Android thing to allow running Android unit tests using Android SDK with stubbed APIs without emulator?
j
Jeff Lockhart
08/31/2023, 11:15 PM
Yes, only the Android target has androidUnitTest and androidInsrumentedTest source sets. Other targets just have one test source set.
👍 1
k
Kirill Zhukov
08/31/2023, 11:33 PM
How about
iosTest
? This is for tests that compile and run in Mac hosts, yeah? I haven’t tried but would I be able to run the same tests on iOS simulator, or is there a different source set similar to Android?
j
Jeff Lockhart
09/01/2023, 12:35 AM
iosTest
runs on a simulator.
k
Kirill Zhukov
09/01/2023, 2:59 AM
Hm maybe I just never noticed that 😃
j
Jeff Lockhart
09/01/2023, 3:01 AM
It doesn't run the simulator device UI. So it's not as obvious.