I'm attempting to run a specific android test (JUnit & Espresso), but get the following error:

I'm executing the test as so (debug):

The app is successfully installed and usable after the process.
The directory /Users/user/Projects/kiwix-android/app/build/outputs/apk/androidTest/ does not exist and is not created, let alone the app-kiwix-debug-androidTest.apk file itself.
My aim is to be able to debug (breakpoints etc.) individual tests on a real device. All suggestions welcome!