-
Notifications
You must be signed in to change notification settings - Fork 150
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
Generating test coverage, just like flutter test integration_test
does
#611
Comments
No, it's currently not possible because Patrol is starting tests with I understand that coverage is important for you – our internal customers and clients are also saying this. We really do want to migrate from We've made a POC of generating JUnit tests on Flutter's beta channel and it worked out well. |
flutter test integration_test
does
@bartekpacia what's the status on this? |
The status is: we're not working on this, but we'd like to have this in the future :)
I don't know, but it seems to me that these arguments don't work with Flutter. |
Is this unblocked now with Patrol 2.0? #661 |
Hi @KyleFin, we haven't investigated it too much yet. |
i noticed that with patrol_finders you dont even have t use patrolTest() anymore, that's pretty neat. It would be great to get to a "guide" or best practice solution or example project that involved as much shared code as possible between widget tests with coverage and integration tests, so the only places we couldnt get coverage were those native features. |
Love Patrol, would be essentially perfect with code coverage! I won't hold my breath, but needed to reiterate that coverage would be very useful to many. @bartekpacia could you please briefly describe LeanCode's approach to overseeing test coverage without this metric? |
I'll also pitch in saying that having code coverage would be great. We transitioned from integration_test to Patrol, and losing code coverage results was a bummer. |
Thanks you very much for these comments 🙏🏻 I'll bring this to attention of our team. No promises but we're indeed seeing increasing interest in this feature. Quick question:
|
@bartekpacia |
@jBorkowska I see you removed the blocked label, does that mean this is possible now? Is it on the roadmap? Thanks!! |
This feature was added in #2294. Starting with patrol |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. |
Using the
integration_test
package is possible to runflutter test integration_test
with--coverage
flag.Does Patrol have this option?
The text was updated successfully, but these errors were encountered: