ns test android
Run unit tests on all connected android devices or native emulators
Options
Name | Description |
---|---|
--watch | When you save changes to the project, changes are automatically synchronized to the connected device and tests are re-run |
--debug-brk | Runs the tests under the debugger. The debugger will break just before your tests are executed, so you have a chance to place breakpoints |
--justlaunch | Does not print the application output in the console |
--force | Skips the application compatibility checks and forces npm i to ensure all dependencies are installed |
--device <device id> | Specifies a connected device/emulator to start and run the app |
--emulator | Specifies that you want to debug the app in an emulator |
--aab | Specifies that the command will produce and deploy an Android App Bundle |
--env.snapshot | Creates a V8 Snapshot decreasing the app start time (only for release builds for Android) |
--env.compileSnapshot | Compiles the static assets produced by --env.snapshot into .so files allowing the native build to split them per architecture. This will reduce the app size when using the --aab option |
--env.appComponents | Allows passing additional App Components for android |