parsing of 'patrol test' arguments #1009
Replies: 3 comments 5 replies
-
Interesting use case. We don't currently support it, so all you can do is write some custom shell script around Do you have a different flavor for every |
Beta Was this translation helpful? Give feedback.
2 replies
-
Two more question @bartekpacia in this line of thinking:
|
Beta Was this translation helpful? Give feedback.
3 replies
-
A new feature-request is created as a result of the current discussion --> #1049 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Guys,
I have several flavors of an app. The different flavors use different package_names and are build by different main.dart files. When I start my tests with
patrol test --target .... --flavor sit
I want my tests automatically to get that flavor argument and to use it to define the correct package_names and to build the correct main.dart file according to the declared flavor in the command line.Does somebody have an idea how to get that argument in an easy way? I tried with the ArgParser package (https://pub.dev/packages/args/install) but unsuccessfully or possibly I am making a mistake somewhere. Thanks in advance for your time.
Beta Was this translation helpful? Give feedback.
All reactions