Dependencies and "global" or multi-file variable. #2824
Replies: 2 comments 14 replies
-
Hi @DenuxPlays This issue is really about how to import Hurl fragment into another Hurl files. There are multiple issues and we know it's a feature important for some users: Other related issue are #115 #1273 #317 #2110. For the moment, mainly due to implementation complexity, we aren't going to develop "import" files soon. We need to take time to find a good syntax and also to deal with how to report error from a "stack" of included files for instance. Hope it's not too harsh from us! |
Beta Was this translation helpful? Give feedback.
-
Just a last answer :) :
Like curl, Hurl allows to use any string as a method |
Beta Was this translation helpful? Give feedback.
-
Hey,
I am currently running into an issue that a few tests (but not all!) needs some extra preparation (in my case creating 2 accounts and saving their id).
I have to copy the requests captures assertions etc. to each file where its needed.
Something like this would be great:
Test that needs preparation:
create-account.hurl
Maybe something like this could be made possible.
The example was just out of nowhere so maybe someone has a better idea on how this could work but something like this is really missing in hurl.
(But not as important as doing basic math, IDE/text editors plugins etc.)
Maybe someone else can share their thoughts about this here.
Beta Was this translation helpful? Give feedback.
All reactions