简体   繁体   中英

Run Integration Test From Restarted App Flutter

I would like to be able to write integration tests (not widget or unit) and have the app restart between each test so i can test the flow through the application. Is this possible as Flutter's documentation does not appear to show this at all, or must I write individual 'setup' files (like app.dart in the example here ) for each end to end test I want?

If I do have to do this, how do I link it to only run the tests for a particular setup? Is it matched by name (eg app.dart links to app_test.dart so example.dart would link to example_test.dart) or by some other means?

Thanks in advance.

I think this blog post talks exactly about what you are looking for. Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM