最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Support for running flutter driver along with permission using flutter test - Stack Overflow

programmeradmin3浏览0评论

I am able to run the Integration tests using following command:

flutter driver --target=integration_test/local_server_tests.dart --flavor=rc --driver=test_driver/main_test.dart

In the driver file I run adb command to provide permissions to APK package.

As per Flutter documentation, we should be able to migrate flutter driver to flutter test command.

I am able to run very basic test using flutter test but when it asks for permission on android emulator, the test fails. The flutter test doesn't access any driver file.

Can anybody help how to run flutter test for integration tests along with providing required permissions to APK package?

When I run using flutter driver its not possible to get the logs of individual tests which are failing (or passing). How to get separate logs for each test run individually?

发布评论

评论列表(0)

  1. 暂无评论