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

Allow passing a list of tests to run #2130

Open
jamesbluecrow opened this issue Nov 11, 2024 · 3 comments
Open

Allow passing a list of tests to run #2130

jamesbluecrow opened this issue Nov 11, 2024 · 3 comments

Comments

@jamesbluecrow
Copy link

Use case

I'm implementing a script to retry some tests that are flaky and I would like to be able to retry only the tests that have failed.

Ideally I would like to still use shards and provide a list of test files paths for the tests that I want to run as part of the suite.

Proposal

I think it could be something like blow:

maestro test --format=junit --output=$REPORT_PATH --shard-split=4 --tests=test_1.yaml, test_2.yaml, test_3.yaml...

Anything else?

No response

Copy link

linear bot commented Nov 11, 2024

@ricardo7martins
Copy link

I believe this was introduced in 1.39.0 with #1995

@jamesbluecrow
Copy link
Author

Right, it looks like what is expected is a list of files separated by a space.

I've gone ahead and created a PR to update the docs with this option -> mobile-dev-inc/maestro-docs#99

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

No branches or pull requests

2 participants