-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing on different devices #281
Comments
It's a reasonable approach. For now, we can refer to the implementation used by Now In Android for multi-device testing. In a nutshell, we can use RuntimeEnvironment.setQualifiers() as follows: RuntimeEnvironment.setQualifiers("w${width}dp-h${height}dp-${dpi}dpi"). |
We can integrate the multi-device feature into Roborazzi if we find a suitable API. Currently, however, I don't have one. |
That is a nice solution. It would be convenient if it were part of the library. |
We already have that function, but I didn't mention it in the document. So, now is the time to include it. |
@kataRebuy In case it helps: did write about that (and more) here 👇 |
Currently, if I want to test the same stuff on 3 different devices I have to write the tests 3 times. It would be nice to get a feature where you can run the same test with different device configs.
Like this:
Of course then including the device config name in the screenshots file name to be able to distinguish between them.
The text was updated successfully, but these errors were encountered: