1

Is there a way to generate the coverage report from

flutter drive --target=test_driver/file.dart

??

1 Answer 1

4

No, it is not currently possible, and probably never will be:

https://github.com/flutter/flutter/issues/7474.

Furthermore, the Flutter team is moving away from flutter_driver in favor of augmenting flutter_test to work on devices, because flutter_driver is hard to embed in CI toolchains. As a result, many flutter developers opt to use Widget tests instead (which do support coverage, to be sure).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.