android / android/android-test
`InstrumentationActivityInvoker$BootstrapActivity` starts a separate process...
- Lingua principale
- Java
- Stelle
- 1.2k
- Fork
- 342
- Merge medio
- 11h 29m
- PR unite (30g)
- 2
Descrizione
### Description
`ActivityScenario` launches `InstrumentationActivityInvoker$BootstrapActivity` before it launches the requested activity.
In application modules this launches a separate process for the your Test APK, which slows down tests.
In library modules this launches in the same process (there is only one APK).
This can lead to behaviour differences of the same test depending on if it is in a library or app module.
### Steps to Reproduce
### Expected Results
BootstrapActivity launches in the process under test, not a new separate process.
### Actual Results
BootstrapActivity launches in a new separate process for application modules with a separate test APK.
### AndroidX Test and Android OS Versions
1.3.0
API 30
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando il modo in cui ActivityScenario avvia InstrumentationActivityInvoker$BootstrapActivity e il modo in cui viene selezionato il processo per i moduli applicativi con un APK di test separato. Confronta questo comportamento con quello dei moduli di libreria, quindi verifica che BootstrapActivity venga avviata nel processo sottoposto a test senza modificare il flusso dell’attività richiesto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- mobile, testing
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100