You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
Describe the bug
In my tests I am going to execute only GET requests which expected 200 and 403 response codes, and skip all the rest. Trying to
achieve this via dreddhook. I can easily exclude all except one status code, but when I use multiple OR condition, result confuses me.
Does dredd --loglevel=debug uncover something?
I am using debug level from the beginning
Can you send us failing test in a Pull Request?
Cannot
Output for first case (ok)
Output for second case (wrong)
P.S. All running tests are failing as I recorded these screenshot with switched off API, but it's not really matter in current case, as test is skipping.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
In my tests I am going to execute only GET requests which expected 200 and 403 response codes, and skip all the rest. Trying to
achieve this via dreddhook. I can easily exclude all except one status code, but when I use multiple OR condition, result confuses me.
This works fine:
This exclude ALL tests:
To Reproduce
I have openapi.yml, dredd.yml config, dreddhooks.js and running test via command
docker run -it -v $PWD:/api -w /api apiaryio/dredd dredd
Expected behavior
Exclude all except I have in if condition
What is in your
dredd.yml
?What's your
dredd --version
output?Does
dredd --loglevel=debug
uncover something?I am using debug level from the beginning
Can you send us failing test in a Pull Request?
Cannot
Output for first case (ok)
Output for second case (wrong)
P.S. All running tests are failing as I recorded these screenshot with switched off API, but it's not really matter in current case, as test is skipping.
The text was updated successfully, but these errors were encountered: