You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why do you want to do this? (I'm guessing it's related to #1542)
You could try doing some Gradle wizardry and conditionally assign testBuildType basing on current build variant (debug, release, etc.). But, as most things Gradle, this seems simple but it's actually hard - I'm not aware of a nice solution.
It was partially related to #1542, I made the bad decision to tie firebase emulator to build types. Took some time this week to evaluate the situation and dig a bit more on Patrol documentation and decided to use --dart-define.
Maybe it would be a good idea to specify in the docs in the future that "--release" or "--profile" must be aligned to testBuildType when testing in Android?
This will work with
testBuildType "release"
ingradle.build
:patrol test ... --release
But now this don't work:
patrol test ... --debug
Maybe if we could tell patrol to do
./gradlew ... -PtestBuildType=release
The text was updated successfully, but these errors were encountered: