-
Notifications
You must be signed in to change notification settings - Fork 58
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
excludeForOperations not behaving as expected #515
Comments
I am having same issue, its not excluding in |
I did some debugging/research and I think the bug is in The spec is taken and initially converted to a Postman test suite, after which the tests themselves are generated and added to that initial generated suite's "folder structure." However, the excluded operations are not counted when this initial suite is generated. While all of the other "substitute request variables" types of operations happen to update all the generated tests (which is why the tests actually look like they could run), there's a missing step where the initially generated set of tests should be looking at |
If you want to exclude the operation from Postman all together, we provide built-in filtering options. Have a look at the filtering example @tillig is correct and a expert in Portman config. The flow is:
|
Hello,
This may be a misunderstanding of how this all works on my part, can you clarify what exactly the behavior of
excludeForOperations
is with regards to contract tests? I have the following route in my specwith the following config
but when generating contract tests, the post route appears in the collection. is that expected and i'm just misunderstanding what this does, or am i doing something wrong? ideally, i'd like to have that post request excluded from the collection
The text was updated successfully, but these errors were encountered: