-
Notifications
You must be signed in to change notification settings - Fork 535
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
Does hurlfile support skip
semantics?
#1815
Comments
Any thoughts about implementing it as
while for conditional test run,
or there is a way to make global variables and then combined with
|
Hi @egoarka, What exactly is your case? You want to execute only one entry? |
Yeah, I thought that way at first and added example with numeric values, but changed my mind and deleted as it would be a bit more complex, although I didn't think of better name.
only one, or skip specific entries and run rest |
Maybe |
That might work too, also what about declarative way of specifying it in hurl file? (this is helpful if you have multiple tests around in single file and you want to work on specific test, and don't mess around with rest or simply remember order of tests ) |
that's where you would use the
The entries 2 and 4 will be skipped. |
yeah, that works, but what if I have a ton of tests and I wanna run only the one in the middle (or few along with it, but exclude rest), should I manually just find it's index/indexes and run with
Runs only 3rd test. 1st should not run along with 3rd because it has undefined |
We also thought before about adding a |
But if let's say you add test above, test below, you should always keep in mind you have to use new line number to make it work, labeling specific tests might be better, so you just remember name of it and run it |
@egoarka landing on master, you can use now skip:
|
Discussed in #1810
Originally posted by chenrui333 August 2, 2023
I am curious if I can
skip
the test cases in the hurlfile or skip the entire file.The text was updated successfully, but these errors were encountered: