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 command line option to print the actual test groups that are going to be executed #218

Open
ArturGajowy opened this issue Apr 11, 2017 · 0 comments

Comments

@ArturGajowy
Copy link
Contributor

The use case is as follows:
In presto, we spin up a postgresql, msyql, and a cassandra container each time the tests are run in thesinglenode profile - even if no tests from their respective groups are run and the containers are effectively unused. To prevent starting of the containers we need to know if the respective tests are going to be run - and without support in tempto that would mean reimplementing a part of tepto/testng. Thus, we'd like the option to:

#assuming test groups foo,bar,baz:
$ ./tempto --print-actual-groups -g foo,bar
foo
bar
$ ./tempto --print-actual-groups -x bar
foo
baz

Then we can grep the groups and see which containers need to be run.

Notice that we'd like tempto to exit immediately after printing the groups.

CC @sanjay990

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

1 participant