There is an Activity that lies in the test folder (not a unit, but an instrumental androidTest). I want to launch this Activity as part of the test, so that it is only there and nowhere else. The problem is that this activation must be specified in the application manifest, but the native manifest file does not see the path to this activation, which lies in the folder with the tests. If you create a second manifest and put it inside the androidTest folder, this manifest will simply be ignored. How to be?

In fact, I want to launch a separate application fragment. But to do this, you need to activate. I want to create an activit in the test folder and use it as a starting component for the fragment.

    1 answer 1

    You need to transfer your test activation and manifest with it to, for example, the debug build option. Or create for it a separate version of the assembly and run tests on it if debug is not suitable for some reason. Manifests from test folders are not combined with the main one, that is, they are really ignored.