Skip to content

How to run the tests without the UI ? #254

Answered by fzyzcjy
MCord asked this question in Q&A
Discussion options

You must be logged in to vote

You are welcome!

Ideally I would like to run the tests and just read the log files and optionally generate report files for later inspection in case of failure in my CI pipeline. Is that something supported currently or planned in the feature

Currently supported :) Indeed it runs well in my ci.

Could you provide the commands needed to do that ?

Yes, just this:

dart run convenient_test_manager_dart # in one shell
flutter run path/to/your/integration_test/main_test.dart --host-vmservice-port 9753 --disable-service-auth-codes --dart-define CONVENIENT_TEST_APP_CODE_DIR=sth # in another shell, run your worker app

In one shell you run that convenient_test_manager_dart which is headless, i.…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by MCord
Comment options

You must be logged in to vote
1 reply
@fzyzcjy
Comment options

Comment options

You must be logged in to vote
1 reply
@fzyzcjy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants