Skip to content
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

Force a platform type when testing #15

Open
martin-robert-fink opened this issue Jul 19, 2021 · 1 comment
Open

Force a platform type when testing #15

martin-robert-fink opened this issue Jul 19, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@martin-robert-fink
Copy link

When running tests, either using variant: TargetPlatformVariant.mobile() or debugDefaultTargetPlatformOverride does not cooperate with UniversalPlatform.

Can you add a method, something like testUniversalPlatformOverride = targetPlatformType to set a platform type for widget testing. Or, perhaps create something that extends from the TestVariant class that could be used.

@jeroen-meijer
Copy link

I would love this as well. This is an extremely useful package, but the lack of testing mechanisms makes it quite hard to use in some cases, which might persuade people to not use the package as a result.

@esDotDev esDotDev self-assigned this May 23, 2024
@esDotDev esDotDev added the enhancement New feature or request label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants