Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --plain-name option to patrol test to select individual test to run by their names #1186

Open
megakrutak opened this issue Apr 6, 2023 · 3 comments
Labels
feature New feature request

Comments

@megakrutak
Copy link

Is it possible to restart a single test from group by test name? I tried passing the --plain-name parameter to patrol test, as it was in the flutter test. This was a very useful feature.

patrol_cli v1.1.3

Example for flutter test:
flutter test integration_test/smoke_test.dart -d emulator-5554 --plain-name='C345346 - Logout test'

@bartekpacia
Copy link
Contributor

Hi, this is not supported currently and we don't have plans to add it. It's not as simple as it may seem at the first sight.

@bartekpacia bartekpacia added the feature New feature request label Apr 12, 2023
@bartekpacia bartekpacia changed the title Could not find an option named "plain-name" Add --plain-name option to patrol test to select individual test to run by their names Apr 12, 2023
@bartekpacia
Copy link
Contributor

Might be possible if the implementation of test bundling is improved so that the native side can request execution of individual Dart test cases, instead of Dart files.

@jBorkowska
Copy link
Collaborator

Can be related to #1502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

3 participants