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

Ability for AND combination of factors on command line. #2752

Closed
icemac opened this issue Dec 19, 2022 · 2 comments
Closed

Ability for AND combination of factors on command line. #2752

icemac opened this issue Dec 19, 2022 · 2 comments
Labels
enhancement help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted.

Comments

@icemac
Copy link

icemac commented Dec 19, 2022

What's the problem this feature will solve?

I want to select multiple factors and combined.
Using tox 3 and tox-facor together I was able to have environments like this:
py{37,38,39}-{wsgi,plonetesting,grok}-{chrome,ff,edge}
And use tox -f py37-ff to run the following environments:

  • py37-wsgi-ff
  • py37-plonetesting-ff
  • py37-grok-ff

Using tox >= 4 and the integrated factor selector I seem to have to call:
tox -f py37 -f ff but this combines the factors with or, so it runs all combinations.

Describe the solution you'd like

I need a way to configure (multiple) -f switches to do an and combination of the selected factors.

Alternative Solutions

Currently I see no other solution than keeping to use tox < 4 together with fox-factor.

@icemac icemac changed the title Ability for an AND combination of factors on command line. Ability for AND combination of factors on command line. Dec 19, 2022
icemac pushed a commit to lugensa/gocept.selenium that referenced this issue Dec 19, 2022
icemac pushed a commit to lugensa/gocept.selenium that referenced this issue Dec 19, 2022
@gaborbernat gaborbernat added this to the 4.1 milestone Dec 20, 2022
@gaborbernat gaborbernat added the help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted. label Dec 20, 2022
@gaborbernat
Copy link
Member

A PR is welcome 👍

@q0w
Copy link
Contributor

q0w commented Dec 29, 2022

It could be closed because of this fix #2786?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted.
Projects
None yet
Development

No branches or pull requests

3 participants