-
Notifications
You must be signed in to change notification settings - Fork 6
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
Patterns / rules to name features / scenarios #33
Comments
happy to receive PRs, I guess the above two are one in the same?
or whatever |
I think so, yes, your example looks good, we can treat the selector like AND. Maybe more explicit? {
"rules": {
"name-pattern": {
"selector": {
"type": "scenario",
"path": "feature/sales/*",
"tags": ["order"]
},
"match": "Foobar.*$",
}
}
} |
Ah, it needs to be an array since you'll have more of them, of course. |
could maybe replace |
Not sure what you mean exactly? |
You would if you tried to add this rule I think, it's the way the config is mapped to the Rule's config DTO. I think my "deserializer" (invoke) is pretty basic. |
Ah, got it. We can add the more advanced mapper first and then do the names thing. |
It would be nice to be able to establish patterns when naming scenarios and features, promoting consistent vocabulary and wordings.
Some ideas:
@tag
must match patternThe text was updated successfully, but these errors were encountered: