-
Notifications
You must be signed in to change notification settings - Fork 144
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
Both plan
and execute
keys should not be allowed
#1648
Comments
I would prefer the cry-and-fail option. What do you think about enforcing correct plans and tests according to schemas? |
I think we are getting close to that. Not sure whether we should rather wait for |
This is also connected with defining how to stop inheritance for node, as discussed. so that if there will be specific way how to say this node will not inherit from parent anything. plan:
"force_clean_node": true
import:
url: https://github.com/teemtee/tests
name: /plans/polarion because stop inheritance for remote plans may be contraproductive, e.g. imagine you want to import more plans from one repo like url: https://github.com/teemtee/tests
plan1:
import:
name: /plans/x1
/teemtee/tests
plan2:
import:
name: /plans/x2
... |
There already is support for disabling inheritance in And this should nicely work with the two-plan example above as well. |
Ah, this sounds good, I've didn't know it is already implemented. |
When playing with #1646 I realized that if both
plan
andexecute
keys are present in anfmf
nodetmt
gives only a warning. For the following plan:The output looks like this:
Note that the plan is listed twice as it is detected using both keys. I see two ways to fix this:
execute
key if remoteplan
is detected@lukaszachy, @thrix, @happz, @adiosnb, thoughts?
The text was updated successfully, but these errors were encountered: