-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Use case
Consider I am writing a Package and I wish to write integration tests for it.
To write integration tests on a Package, one of the ways is to write the test in the example/integration_test folder.
My goal is to get coverage (lcov.info) for the integration tests.
Currently, there are no options in the flutter test command for this scenario.
Please consider flutter_package_integration_testing_coverage repo for the use case.
I wish to generate contents of integration_test_lcov.info at flutter_package_integration_testing_coverage/coverage/lcov.info.
Proposal
Is there any way to collect coverage for the parent Package?
I tried this doing by using integration_test_android.sh script but it currently depends on the sleep command.
How can I improve the integration_test_android.sh script or is there any correct way to do this?
I have also made an attempt in #93620.
My proposal would be the Flutter Authors take this PR forward to achieve the above feature request.