Currently, the way that we set up the snapshot testing is to use FakeDeviceRepository
This works for the basic case, however we are not considering the case for other scenarios eg.
Overview screen
- Case where we have app(or apps) from Untrusted installers
- Case where we have app(or apps) from Media projection
- Case where we have app(or apps) from Accessibility Service
TBD for other screens.
The challenging bit of this task is how we do the testing snapshot properly while we still have manageable "Fake" data for our test. One can go blindly and create fake data for all scenarios but that could explode this Repository and terms of the size of the snapshot files.
Currently, the way that we set up the snapshot testing is to use FakeDeviceRepository
This works for the basic case, however we are not considering the case for other scenarios eg.
Overview screen
TBD for other screens.
The challenging bit of this task is how we do the testing snapshot properly while we still have manageable "Fake" data for our test. One can go blindly and create fake data for all scenarios but that could explode this Repository and terms of the size of the snapshot files.