flutter_convenient_test
flutter_convenient_test copied to clipboard
Launch with Debug feature in VSCode
Is your feature request related to a problem? Please describe. I'm frustrated with the terminal, because i can't filter things and the test just spammed with many things makes me can't read everything. I'd like to use Debug feature in VSCode to run the integration test. when i tries to make one, it can't be done
{
"name": "Flutter Integration Test",
"request": "launch",
"type": "dart",
"program": "integration_test/main_test.dart",
"args": [
"--flavor",
"dev",
"--host-vmservice-port",
"9753",
"--disable-service-auth-codes",
"--dart-define",
"CONVENIENT_TEST_MANAGER_HOST=10.0.2.2",
"--dart-define",
"CONVENIENT_TEST_APP_CODE_DIR=D:/projects/flutter-project/project_name",
"--dart-define",
"PERSISTENT_ARGUMENTS=clSs.clSp",
"--dart-define",
"TEST_ENTRY_POINT=onboarding"
]
}
it says Could not find an option named "host-vmservice-port".
when i remove it, it says No tests were found.
while exiting the app
Describe the solution you'd like i'd like to run the test via vscode launch debug
Describe alternatives you've considered currently i'm making bat file like this:
echo off
adb uninstall com.example.project_name.dev
flutter run ^
integration_test/main_test.dart ^
--flavor dev ^
--host-vmservice-port 9753 ^
--disable-service-auth-codes ^
--dart-define ^
CONVENIENT_TEST_MANAGER_HOST=10.0.2.2 ^
--dart-define ^
CONVENIENT_TEST_APP_CODE_DIR=D:/projects/flutter-project/project_name^
--dart-define PERSISTENT_ARGUMENTS=clSs.clSp ^
--dart-define TEST_ENTRY_POINT=onboarding
Additional context Add any other context or screenshots about the feature request here.