-
Notifications
You must be signed in to change notification settings - Fork 2
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
Mutually exclusive --processes
and --process-levels
#24
Comments
I'm not sure what specifying both would mean and to remove that ambiguity I just stated that they are exclusive, also to make it a bit simpler for others to follow this. For example, what would providing e.g. L1 and run_udf mean? Does this test no process or L1 + run_udf? I'm not sure what would be expected... |
To give some background: I'm trying to unify the logic/behavior between the different WPs a bit and these In the end, both options are just about process selection and I'm wondering if it wouldn't be easier to just provide a single option along the lines of:
|
I'm not against unifying the parameters if it's feasible to detect whether something is a process or a level... With regards to "not specified: cover all processes" please also note that experimental processes are not tested by default. |
@soxofaan fine on my side to have a single parameter and simplify the call |
I think it can simply be something like: lower case
of course the "experimental" toggle can be kept orthogonal to that |
The level regexp might be misleading, would also match For the processes I'm not 100% sure whether the OpenAPI patterns would lead to |
ok, regardless of unifying
unlike I previous stated, taking the union (instead of intersection) is probably more intuitive or handy in practice |
I don't see a use case right now for it. I could see a use case for intersection (level + x processes), but not really for x within level. Why would you specify the level in this case? |
I think we're talking about the same thing, maybe my example was confusing as min/max are already in L1.
I think you mean "union" here. As you said, the other option "x within level" (intersection) is practically less interesting. |
Indeed, a mixup on my side, sorry. It was too late... |
openeo-test-suite/src/openeo_test_suite/tests/conftest.py
Lines 24 to 35 in 1e8b63a
The help strings of
--processes
and--process-levels
state that both are mutually exclusive, but I wonder if it is necessary to specify that. The current implementation allows to pass them both at the same time and will just take the intersection of both subsets, which is fine and intuitive I think.@m-mohr
The text was updated successfully, but these errors were encountered: